v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Version

Get custom content versions

Returns the versions of specific custom content.

Permissions required: Permission to view the custom content and its corresponding page and space.

get/custom-content/{custom-content-id}/versions

Path parameters

custom-content-idinteger required

The ID of the custom content to be queried for its versions. If you don't know the custom content ID, use Get custom-content by type and filter the results.

Query parameters

body-format'raw' | 'storage' | 'atlas_doc_format'

The formats a custom content body can be represented as. A subset of BodyRepresentation.

The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.

Note: If the custom content body type is storage, the storage and atlas_doc_format body formats are able to be returned. If the custom content body type is raw, only the raw body format is able to be returned.

cursorstring

Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.

limitinteger

Maximum number of versions per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.

sort'modified-date' | '-modified-date'

The sort fields for versions. The default sort direction is ascending. To sort in descending order, append a - character before the sort field. For example, fieldName or -fieldName.

Used to sort the result by a particular field.

Response

Returned if the requested custom content versions are returned.