Create a release

Creates a new release with an auto-generated ID. Use the `entities.items[]` shape that matches the release version and the space's publishing mode: * `Release.v1`: direct Entry or Asset links. * `Release.v2` with entry-based publishing: `entity` plus `action`, where `action` is `publish` or `unpublish`. * `Release.v2` with locale-based publishing: `entity` plus `add` and `remove`. Only locale-based publishing uses `add` and `remove`. In that mode, each entity item must include both properties, and every environment locale must appear exactly once across `add.fields["*"]` and `remove.fields["*"]`.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

space_idstringRequired
ID of the space in form of a string
environment_idstringRequired
ID of the environment in form of a string

Request

This endpoint expects a map from strings to any.

Response headers

Content-Typestring

Content-Type

Response

Created - Resource created successfully