Get headers for summary of version history for a document
head/documents/{objectTypeName}/{documentId}/versions
Retrieves headers for a summary of version history for a document. Version summaries contain a link to fetch the full version representation.
| Name | Type | Required | Description |
|---|---|---|---|
documentId | string | true | The ID of the document. |
objectTypeName | string | true | The object type of the document. |
| Name | Type | Required | Description |
|---|---|---|---|
includeDisplayLabel | boolean | false | Indicates whether to include the display label for the document. Default: false |
limit | integer | false | The maximum number of items to return in a page of results. Default: 40 |
sortBy | string | false | The sort criteria for the request. Default: {field name of the document's version field}:descending |
start | integer | false | The start index. This is used for paging. Default: 0 |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | ||
| 400 | Bad Request | Version history was not available for the specified document. | ||
| 404 | Not Found | The specified document was not found. |