List content versions
Retrieves a paginated list of versions for a specific content object.
Query parameters
The ID of the content object whose versions you want to list. This parameter is required as versions can only be listed for a specific content object.
Specifies the maximum number of items to return in a single response. The value must be between 1 and 100. If not specified, defaults to 20 items per page.
Specifies the starting point for the next page of results. The response will include items that come after (but not including) the object with this ID. To get the next page, use the ID of the last item from your previous request. The easiest way is to use the list object’s cursor field. If not provided, the API will return items from the beginning of the list.
See Ordering. Available fields:
createdAt
: Sort by creation date (default)- You can use multiple fields and specify sort direction:
orderBy[]=-createdAt
for descending order
See Expanding objects. Available options:
questions
: Include all questions associated with each version (only applicable for flow content types)
Response
Returns a list object containing:
results
: Array of content version objectsnext
: URL for the next page of results (null if no more pages)previous
: URL for the previous page of results (null if on first page)