v1
latestOpenAPI 3.0.02026-07-2417611.8 MBAuthoring version
Retrieve all versions for the specified authoring item.
Use the /versions/{classification}/{id} endpoint to retrieve all the versions for the specified authoring item. <br />User roles: admin, manager, editor, viewer
get/authoring/v1/versions/{classification}/{id}
Path parameters
idstring required
Provide the ID of the authoring item that you want to retrieve versions for.
classificationstring required
Provide the classification of the authoring item that you want to retrieve versions for.
Response
Successfully retrieved the API representation containing all the versions for the specified item.
Example response
{
"id": "913b5e06ade9b2c215dc403e07368acc",
"classification": "content",
"versions": [
{
"number": "2.0",
"link": "/authoring/v1/versions/content/2c51c263-cc86-4c76-8146-7b4a12c88cd1/2019-03-26T03:06:42.835Z",
"timestamp": "2019-11-02T06:28:47Z",
"user": "Thomas Watson",
"userId": "a56305e1-201a-4961-a9d8-03fd026c0c19",
"drafts": [
{
"number": "1.5",
"link": "/authoring/v1/versions/content/2c51c263-cc86-4c76-8146-7b4a12c88cd1/2019-03-26T03:06:42.835Z",
"timestamp": "2019-11-02T06:28:47Z",
"user": "Thomas Watson",
"userId": "a56305e1-201a-4961-a9d8-03fd026c0c19",
"event": "updated"
}
],
"event": "updated"
}
]
}