v1

latestOpenAPI 3.0.12026-07-1714724311.1 KB
Versions

Promote a Content Version

Pass the current hash of the main version of the item (obtained from the compare endpoint) along with an optional array of field names of which the values are to be promoted (by default, all fields are selected).

post/versions/{id}/promote

Path parameters

idstring required
Example:8cbb43fe-4cdf-4991-8352-c461779cec02

Unique identifier for the object.

Request body

mainHashstring

Hash of the main version of the item to be promoted.

fieldsstring

Optional array of field names of which the values are to be promoted.

Response

Successful request

object required