v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Version

Get blog post versions

Returns the versions of specific blog post.

Permissions required: Permission to view the blog post and its corresponding space.

get/blogposts/{id}/versions

Path parameters

idinteger required

The ID of the blog post to be queried for its versions. If you don't know the blog post ID, use Get blog posts and filter the results.

Query parameters

body-format'storage' | 'atlas_doc_format'

The primary formats a body can be represented as. A subset of BodyRepresentation. These formats are the only allowed formats in certain use cases.

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.

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 blog post versions are returned.