Upsert an experience by ID

Updates an experience by ID, or creates a new one with the specified ID if the experience does not exist.

Authentication

AuthorizationBearer
Contentful Management API token

Path parameters

spaceIdstringRequired
environmentIdstringRequired
idstringRequired

Query parameters

access_tokenstringOptional

Request

Body
namestringRequired
descriptionstringRequired
designPropertiesmap from strings to maps from strings to objectsRequired

Each assignment can use either a direct value or a legacy dimension-keyed map of values. Use direct values for new experiences. Legacy maps remain supported for existing viewport-based experiences.

parametersmap from strings to objectsOptional
contentBindingsobjectOptional
metadataobjectOptional
slotsmap from strings to lists of objectsOptional
experienceTemplateobjectOptional
viewportslist of objectsOptionalDeprecated

Deprecated. This optional field will be removed in a future release. When it is absent, use flattened design-property values.

Response

200
sysobject
namestring
descriptionstring
designPropertiesmap from strings to maps from strings to objects
parametersmap from strings to objectsOptional
contentBindingsobjectOptional
metadataobjectOptional
slotsmap from strings to lists of objectsOptional
viewportslist of objectsOptionalDeprecated

Deprecated. This optional field will be removed in a future release. When it is absent, use flattened design-property values.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
500
Internal Server Error
503
Service Unavailable Error