Get a summary of version history for a child document
Gets a summary of version history for a child document. Child version summaries contain a link to fetch the full child version representation.
1{2 "name": "string",3 "start": 0,4 "limit": 0,5 "count": 0,6 "accept": "string",7 "links": [8 {9 "method": "string",10 "rel": "string",11 "uri": "string",12 "href": "string",13 "title": "string",14 "type": "string",15 "itemType": "string",16 "responseType": "string",17 "responseItemType": "string"18 }19 ],20 "version": 0,21 "items": [22 {23 "typeName": "string",24 "id": "string",25 "version": "string",26 "displayLabel": "string",27 "operation": "string",28 "createdBy": "string",29 "createdAt": "2019-08-24T14:15:22Z",30 "links": [31 {32 "method": "string",33 "rel": "string",34 "uri": "string",35 "href": "string",36 "title": "string",37 "type": "string",38 "itemType": "string",39 "responseType": "string",40 "responseItemType": "string"41 }42 ],43 "parentTypeName": "string",44 "parentId": "string",45 "parentVersion": "string"46 }47 ]48}
| Name | Type | Required | Description |
|---|---|---|---|
childDocType | string | true | The object type of the child document. |
documentId | string | true | The ID of the child document's parent document. |
objectTypeName | string | true | The object type of the child document's parent document. |
version | string | true | The version of the child document's parent document. |
| Name | Type | Required | Description |
|---|---|---|---|
includeDisplayLabel | boolean | false | Indicates whether to include the display label for the child document in the version. Default: false |
limit | integer | false | The maximum number of items to return in a page of results. Default: 40 |
operation | string | false | A query parameter that can be used to filter the child documents by their operation. The available operations are: |
sortBy | string | false | The sort criteria for the request. Default: {child documents createdAt field name}:descending |
start | integer | false | The start index. This is used for paging. Default: 0 |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Schema | |
| 400 | Bad Request | Version history was not available for the specified child document. | Schema | |
| 404 | Not Found | The specified child document or parent document was not found. | Schema |