List app workspaces
Motivation
List app workspaces, using API
Functional Design
GET /api/v2/apps/{owner}/{app}/schemas
Returns the hierarchy of non-abstract workspaces in the application with WSProfile as a root.
If Authorization header is provided, and user has sys.Developer
role, the hierarchy of all workspaces in the application is returned.
Otherwise, only workspaces returned which have resources available to published roles.
Headers
Authorization
Bearer {PrincipalToken}
optional
Accept
text/html
To get the response in HTML format (default)
Parameters
owner
string
name of a user who owns the application
app
string
name of an application
Result
200
OK
app workspaces hierarchy in the selected format
See Also
Technical design
Components
pkg/processors/query2
IApiPathHandler
implementation for handling ApiPath_Schemas
~cmp.schemasHandler~
❓
newQueryProcessorPipeline
: provide API handler for ApiPath_Schemas
`
cmp.provideSchemasHandler
pkg/sys/it
integration test
~it.TestQueryProcessor2_Schemas~
❓
Last updated
Was this helpful?