Authoring review
Start a review.
Use the /review endpoint to start a review. Currently, only Assets and Contents can be reviewed. This endpoint updates the status of the items in bulk. Items with the updated status are added in the review model. Check whether the items were successfully added to the review model from the items field in the returned API representation of review model. You can identify the items that failed to update or invalid items by checking the item IDs that are listed in the response header. <br />User roles: admin, manager, editor
post/authoring/v1/review
Request
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Sample Review",
"targetDate": "2018-01-22T03:00:20.945Z",
"approvers": [
{
"id": "45341daf-6b42-40c9-8aea-e9e24bf83b0a"
}
],
"items": [
{
"id": "a9e1e857-4eb3-4994-9214-3ed739a9987b",
"classification": "content"
}
]
}Response
Successfully created a review.
Example response
{
"id": "0d36aaf9-ddb3-4f3c-8582-5a0cea2c48b4",
"rev": "1-b79b6fe8de3e2b63c45895f733482774",
"classification": "review",
"name": "Sample Review",
"targetDate": "2018-01-22T03:00:20.945Z",
"completed": "2018-01-22T03:00:20.945Z",
"approvers": [
{
"id": "45341daf-6b42-40c9-8aea-e9e24bf83b0a"
}
],
"approvals": [
{
"user": {
"id": "45341daf-6b42-40c9-8aea-e9e24bf83b0a"
},
"date": "2018-01-22T03:00:20.945Z",
"items": [
{
"id": "a9e1e857-4eb3-4994-9214-3ed739a9987b",
"classification": "content"
}
]
}
],
"rejections": [
{
"user": {
"id": "45341daf-6b42-40c9-8aea-e9e24bf83b0a"
},
"date": "2018-01-22T03:00:20.945Z",
"items": [
{
"id": "a9e1e857-4eb3-4994-9214-3ed739a9987b",
"classification": "content"
}
]
}
],
"items": [
{
"id": "a9e1e857-4eb3-4994-9214-3ed739a9987b",
"classification": "content"
}
],
"lastModified": "2018-01-22T03:00:20.945Z",
"lastModifierId": "63b800fa-51a7-4602-8cbe-ab3b9cee28b9",
"created": "2018-01-22T03:00:20.945Z",
"creatorId": "8c622bbb-5f5b-45d4-89e1-fce1c054138f"
}Changes
No recorded changes to this operation across all 1 revision of this API.