Create a space
https://am-api.contentstack.com/api/spacesThe Create a space request creates a new space in your organization. A space is the top-level container for your assets, folders, and workspaces.
Set default_locale to the language every asset in the space starts in. Other languages inherit from it until an asset is localized into them, so choose it to match the language your team authors in.
Headers
authorizationoptionalstringauthtokenoptionalstringx-cs-api-versionrequiredstringorganization_uidoptionalstringBody Parameters
titlerequiredstringdescriptionoptionalstringdefault_localeoptionalstring{
"title": "string",
"description": "string",
"default_locale": "string"
}{
"notice": "string",
"space": {
"_id": "string",
"uid": "string",
"title": "string",
"description": "string",
"org_uid": "string",
"owner_uid": "string",
"default_locale": "string",
"object_type": "string",
"tags": [
"string"
],
"users_count": 0,
"meta_info": {
"storage": 0,
"assets_count": 0,
"folders_count": 0,
"last_modified_at": "2019-08-24T14:15:22Z",
"workspaces": {
"property1": {
"assets_count": 0,
"storage": 0,
"folders_count": 0
},
"property2": {
"assets_count": 0,
"storage": 0,
"folders_count": 0
}
}
},
"settings": {
"ai_metadata": {
"enabled": true,
"auto_populate_tags": true,
"tags_max_count": 1,
"tags_confidence_level": 0.1,
"auto_populate_alt_text": true,
"alt_text_field_uid": "string"
},
"ai_vault": {
"vault_uid": "string",
"vault_name": "string",
"max_assets": 0,
"created_at": "2019-08-24T14:15:22Z"
}
},
"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 spaces
https://am-api.contentstack.com/api/spacesUpdate a space
https://am-api.contentstack.com/api/spaces/{space_uid}Get a space
https://am-api.contentstack.com/api/spaces/{space_uid}Delete a space
https://am-api.contentstack.com/api/spaces/{space_uid}