Get content versions
GET {{baseUrl}}/api/content/:id/version?start=0&limit=200&expand=<string>&expand=<string>
Returns the versions for a piece of content in descending order.
Permissions required: Permission to view the content. If the content is a blog post, 'View' permission for the space is required.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start | number | The starting index of the returned versions. | |
limit | number | The maximum number of versions to return per page. | |
Note, this may be restricted by fixed system limits. | |||
expand | string | A multi-value parameter indicating which properties of the content to expand. |
-
collaborators
returns the users that collaborated on the version. -
content
returns the content for the version. | |expand
| string | | A multi-value parameter indicating which properties of the content to expand. -
collaborators
returns the users that collaborated on the version. -
content
returns the content for the version. |
RESPONSES
status: OK
{"results":[{"by":{"type":"known","accountId":"nostrud","accountType":"atlassian","email":"anim elit esse ut","publicName":"ullamco","profilePicture":{"path":"p","width":-77872476,"height":61065658,"isDefault":false},"displayName":"eu","_expandable":{"operations":"Excepteur","details":"consequat irure nostrud Lorem","personalSpace":"aute ullamco mollit"},"_links":{},"username":"nulla laborum","userKey":"elit","operations":[{"operation":"restore","targetType":"blogpost"},{"operation":"copy","targetType":"attachment"}],"details":{"business":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"personal":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"personalSpace":{"id":-97629470,"key":"labore exercitation nulla ex","name":"Duis consectetur anim","type":"laborum reprehenderit laboris Ut","status":"laboris sit mollit nulla","_expandable":{"settings":"nisi sit","metadata":"qui do","operations":"v","lookAndFeel":"esse irure aliquip amet dolor","permissions":"cillum mollit","icon":"proident aliquip","description":"voluptate enim","theme":"voluptate","history":"ea tempor","homepage":"esse sed Lorem"},"_links":{},"icon":{"path":"nostrud enim mollit voluptate dolor","width":30074773,"height":56410680,"isDefault":true},"description":{"plain":{"value":"nostrud in tempor","representation":"view","embeddedContent":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"view":{"value":"exercitation Ut","representation":"view","embeddedContent":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}},"homepage":{"value":"\u003cCircular reference to #/components/schemas/Content detected\u003e"},"metadata":{"labels":{"results":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"start":2894494,"limit":84285993,"size":-38756606,"_links":{}}},"operations":[{"operation":"delete","targetType":"comment"},{"operation":"purge_version","targetType":"space"}],"permissions":[{"subjects":{"_expandable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"group":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"operation":{"operation":"update","targetType":"blogpost"},"anonymousAccess":false,"unlicensedAccess":false},{"subjects":{"_expandable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"group":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"operation":{"operation":"create","targetType":"application"},"anonymousAccess":false,"unlicensedAccess":false}],"settings":{"routeOverrideEnabled":false,"_links":{}},"theme":{},"lookAndFeel":{"headings":{"color":"cillum reprehenderit eu sunt"},"links":{"color":"culpa qui"},"menus":{"hoverOrFocus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"header":{"backgroundColor":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"button":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"primaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"secondaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"search":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"content":{"screen":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"container":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"header":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"body":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"bordersAndDividers":{"color":"sed"}},"history":{"createdDate":"1952-06-10T14:31:50.998Z"}}},"when":"1953-06-13T02:44:53.322Z","friendlyWhen":"magna culpa consectetur et","message":"esse quis id","number":323605,"minorEdit":true,"_expandable":{"content":"esse ","collaborators":"non Excepteur"},"_links":{},"content":{"value":"\u003cCircular reference to #/components/schemas/Content detected\u003e"},"collaborators":{"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"userKeys":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},{"by":{"type":"unknown","accountId":"Duis fugiat cupidatat","accountType":"atlassian","email":"ea in quis anim","publicName":"ullamco Lorem in","profilePicture":{"path":"est sit","width":-36330137,"height":-12646253,"isDefault":true},"displayName":"deserunt a","_expandable":{"operations":"velit in quis ipsum","details":"magna ea","personalSpace":"Excepteur eu est"},"_links":{},"username":"eiusmod in cupidatat","userKey":"esse","operations":[{"operation":"create","targetType":"blogpost"},{"operation":"create","targetType":"blogpost"}],"details":{"business":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"personal":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"personalSpace":{"id":47490726,"key":"velit ","name":"nulla aliqua","type":"ea laboris","status":"cillum adipisicing ullamco laboris","_expandable":{"settings":"proident ex","metadata":"quis irure dol","operations":"nostrud eiusmod nisi","lookAndFeel":"exercitation sunt labore non","permissions":"eiusmod in ad fugiat","icon":"nisi nostrud","description":"adipisicing in voluptate","theme":"ad dolore Duis sunt","history":"u","homepage":"nul"},"_links":{},"icon":{"path":"cillum sit eu","width":-34925021,"height":90425798,"isDefault":false},"description":{"plain":{"value":"quis sunt","representation":"plain","embeddedContent":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},"view":{"value":"sit id","representation":"plain","embeddedContent":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}},"homepage":{"value":"\u003cCircular reference to #/components/schemas/Content detected\u003e"},"metadata":{"labels":{"results":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"start":83779927,"limit":-87535719,"size":-65924145,"_links":{}}},"operations":[{"operation":"purge_version","targetType":"attachment"},{"operation":"move","targetType":"application"}],"permissions":[{"subjects":{"_expandable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"group":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"operation":{"operation":"export","targetType":"attachment"},"anonymousAccess":false,"unlicensedAccess":false},{"subjects":{"_expandable":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"group":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"operation":{"operation":"use","targetType":"page"},"anonymousAccess":false,"unlicensedAccess":false}],"settings":{"routeOverrideEnabled":false,"_links":{}},"theme":{},"lookAndFeel":{"headings":{"color":"veniam"},"links":{"color":"nisi"},"menus":{"hoverOrFocus":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"color":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"header":{"backgroundColor":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"button":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"primaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"secondaryNavigation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"search":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"content":{"screen":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"container":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"header":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"body":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"bordersAndDividers":{"color":"tempor laboris proident esse do"}},"history":{"createdDate":"2007-04-13T10:59:32.679Z"}}},"when":"1989-05-19T00:33:37.730Z","friendlyWhen":"irure ut","message":"adipisicing id ad sunt sint","number":74656274,"minorEdit":false,"_expandable":{"content":"des","collaborators":"eu"},"_links":{},"content":{"value":"\u003cCircular reference to #/components/schemas/Content detected\u003e"},"collaborators":{"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"userKeys":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}],"start":56422235,"limit":-9071484,"size":19664442,"_links":{}}