GET listSpaces
GET /services/data/{apiVersion}/connect/cms/spaces
Operation ID: listSpaces. Tags: CMS Spaces.
Retrieve a list of all content management system (CMS) workspaces in your organization.
Parameters
apiVersion(path, string, required) The API version number. For example,v68.0.
Default:v68.0.nameFragment(query, string) A string of text to filter results by. Returns only workspaces with names that contain this value. Partial name matching is supported.page(query, integer) The page number of results to return. The first page of results is page 0.
Default:0.pageSize(query, integer) The number of results to return per page. The maximum value is 250. The default value is 25.
Default:25. Minimum: 1. Maximum: 250.
Responses
- 200
List of content workspaces.
Media type:
application/json. Schema:SpacesResponse.Example
{ "currentPageUrl": "/services/data/v68.0/connect/cms/spaces?page=0&pageSize=25", "nextPageUrl": null, "previousPageUrl": null, "spaces": [ { "apiName": "MCN_Workspace", "id": "0ZuQZ0000004YSv0AM", "name": "MCN Workspace", "spaceType": { "apiName": "marketing" } } ], "total": 1 } - 401
The request requires authentication. Verify that your authorization token is valid and has not expired.
Media type:
application/json. Schema:ErrorResponse.Example
[ { "errorCode": "UNAUTHORIZED", "message": "Session expired or invalid. Please login again." } ]