tower-cli icon indicating copy to clipboard operation
tower-cli copied to clipboard

Describe organizations and workspaces by name (API)

Open grananda opened this issue 4 years ago • 0 comments

Summary

The following issue will allow the direct exact search of an organization and/or workspace via API-SDK using a string name reference instead of ID. The lack of such endpoint forces the CLI to loop through all organization and workspace teams until a match is found, which is not fully efficient for large organizations.

Intended outcome

The result of such a call should lead to a full organization and/org workspace description.

How will it work

A SDK method such api().describeOrganizationByName(String organizationName) and api().describeWorkspaceByName(String organizationName, String workspaceName) will be implemented

grananda avatar Nov 02 '21 13:11 grananda