Create a workspace
https://am-api.contentstack.com/api/spaces/{space_uid}/workspacesThe Create a workspace request creates a new workspace within the specified space. A workspace lets you group assets and manage their locales independently of other workspaces.
Set locales at creation to declare which languages the workspace supports, so its assets can be localized into them straight away. You can change the list later with the Manage workspace locales request.
URL Parameters
space_uidrequiredstringHeaders
authorizationoptionalstringauthtokenoptionalstringx-cs-api-versionrequiredstringBody Parameters
titlerequiredstringuidrequiredstringdescriptionoptionalstringsource_workspaceoptionalstringlocalesoptionalobject[]locales[].coderequiredstringlocales[].fallbackoptionalstringlocales[].fallback_uidoptionalstring{
"title": "string",
"uid": "string",
"description": "string",
"source_workspace": "string",
"locales": [
{
"code": "string",
"fallback": "string",
"fallback_uid": "string"
}
]
}{
"notice": "string",
"workspace": {
"_id": "string",
"uid": "string",
"title": "string",
"description": "string",
"org_uid": "string",
"space_uid": "string",
"object_type": "string",
"workspace_id": "string",
"origin_workspace": "string",
"workspace_lineage": [
"string"
],
"workspace_uid_lineage": [
"string"
],
"locales": [
{
"code": "string",
"fallback": "string",
"fallback_uid": "string"
}
],
"is_deleted": true,
"created_by": "string",
"updated_by": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}Get all workspaces
https://am-api.contentstack.com/api/spaces/{space_uid}/workspacesManage workspace locales
https://am-api.contentstack.com/api/spaces/{space_uid}/workspaces/{workspace_uid}/localesUpdate workspace settings
https://am-api.contentstack.com/api/spaces/{space_uid}/workspaces/{workspace_uid}/settingsUpdate a workspace
https://am-api.contentstack.com/api/spaces/{space_uid}/workspaces/{workspace_uid}Get a workspace
https://am-api.contentstack.com/api/spaces/{space_uid}/workspaces/{workspace_uid}Delete a workspace
https://am-api.contentstack.com/api/spaces/{space_uid}/workspaces/{workspace_uid}