Workspace resources API reference
List Workspace Resources
GET /workspaces/:workspace_id/resources
Parameter | Description |
---|---|
:workspace_id | The ID of the workspace to retrieve resources from. Obtain this from the workspace settings or the show workspace endpoint. |
Status | Response | Reason |
---|---|---|
200 | JSON API document (type: "resources" ) | Request was successful. |
404 | JSON API error object | Workspace not found or user unauthorized to perform action. |
Query Parameters
This endpoint supports pagination with standard URL query parameters. Remember to percent-encode [
as %5B
and ]
as %5D
if your tooling doesn't automatically encode URLs.
Parameter | Description |
---|---|
page[number] | Optional. If omitted, the endpoint will return the first page. |
page[size] | Optional. If omitted, the endpoint will return 20 workspace resources per page. |
Permissions
To list resources the user must have permission to read resources for the specified workspace. (More about permissions.)
Sample Request
Sample Response