@gravity-rail/sdk 3.0.1 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -455,6 +455,15 @@ workspace summary pages instead.
455
455
  `getMyOrganizations` also accepts `organizationSlug` for exact host resolution
456
456
  and `organizationUuids` (at most 100 UUIDs) for a bounded membership lookup. These
457
457
  filters only narrow the current account's memberships.
458
+ `getWorkspaceOrganizationDirectory({ page, pageSize, search, organizationUuid })`
459
+ returns one page of organizations reached through either an organization membership
460
+ or a ready workspace membership. Search includes organization name, slug, exact UUID,
461
+ and matching workspace name, slug or exact UUID. Each organization appears once.
462
+ `organizationUuid` limits results to that organization within the account's visible directory.
463
+ `matchesOrganizationSearch` identifies entries whose organization fields match,
464
+ so their workspace pages can stay unfiltered. Entries without an organization
465
+ membership have `role: null`; reading the directory
466
+ does not grant organization access. The default page size is 25, with a maximum of 100.
458
467
  Account and device workspace totals count eligible global membership candidates;
459
468
  workspace admission can make a page sparse or empty. Use pagination metadata to
460
469
  reach later candidates.