Get a summary of version history for a child document

get/documents/{objectTypeName}/{documentId}/versions/{version}/children/{childDocType}
Internal-Use Only

Gets a summary of version history for a child document. Child version summaries contain a link to fetch the full child version representation.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address",
7 "uri": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address",
8 "type": "application/vnd.sas.collection"
9 },
10 {
11 "method": "GET",
12 "rel": "next",
13 "href": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address?start=40&limit=40",
14 "uri": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address?start=40&limit=40",
15 "type": "application/vnd.sas.collection"
16 },
17 {
18 "method": "GET",
19 "rel": "self",
20 "href": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address?start=0&limit=40",
21 "uri": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address?start=0&limit=40",
22 "type": "application/vnd.sas.collection"
23 }
24 ],
25 "name": "versions",
26 "start": 0,
27 "count": 1,
28 "items": [
29 {
30 "typeName": "intel_address",
31 "id": "ee0634fb-fb3c-48c8-a9e3-9233376f96d3",
32 "version": "4",
33 "operation": "update",
34 "createdBy": "videmo",
35 "createdAt": "2023-06-28T20:45:01.643Z",
36 "links": [
37 {
38 "method": "GET",
39 "rel": "self",
40 "href": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address/ee0634fb-fb3c-48c8-a9e3-9233376f96d3",
41 "uri": "/svi-datahub/documents/intel_report/uuid_502/versions/4/children/intel_address/ee0634fb-fb3c-48c8-a9e3-9233376f96d3",
42 "type": "application/vnd.sas.investigate.childVersion+json"
43 }
44 ],
45 "parentTypeName": "intel_report",
46 "parentId": "uuid_502",
47 "parentVersion": "4"
48 }
49 ],
50 "limit": 40,
51 "version": 2
52}

Path Parameters

NameTypeRequiredDescription
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.

Query Parameters

NameTypeRequiredDescription
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 document's createdAt field name}:descending
start
integer
false

The start index. This is used for paging.

Default:
0

Responses

StatusMeaningDescription
200OKThe request succeeded. Schema
400Bad RequestVersion history was not available for the specified child document. Schema
404Not FoundThe specified child document or parent document was not found. Schema