Get additional history information about a historical document version

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

Gets additional history information about a historical document version. For example, this could be Create, Edit, and Delete operations on Insight objects associated with the document.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/svi-datahub/documents/intel_report/uuid_502/versions/6/items?start=0&limit=40",
7 "uri": "/svi-datahub/documents/intel_report/uuid_502/versions/6/items?start=0&limit=40",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.datahub.history.info"
10 },
11 {
12 "method": "GET",
13 "rel": "collection",
14 "href": "/svi-datahub/documents/intel_report/uuid_502/versions/6/items",
15 "uri": "/svi-datahub/documents/intel_report/uuid_502/versions/6/items",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.datahub.history.info"
18 }
19 ],
20 "name": "owner",
21 "accept": "application/vnd.sas.datahub.history.info",
22 "start": 0,
23 "count": 1,
24 "items": [
25 {
26 "historyInfoId": 501,
27 "itemRefId": "50",
28 "itemType": "Insight",
29 "itemLabel": "Insight-1",
30 "operation": "Added",
31 "ownerType": "intel_report",
32 "ownerId": "uuid_502",
33 "ownerVersion": "6"
34 }
35 ],
36 "limit": 40,
37 "version": 2
38}

Path Parameters

NameTypeRequiredDescription
documentId
string
true

The ID of the document.

objectTypeName
string
true

The object type of the document.

version
string
true

The version of the document for which to fetch additional history information.

Query Parameters

NameTypeRequiredDescription
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:
historyInfoId:ascending
Example:
"version:descending"
start
integer
false

The start index. This is used for paging.

Default:
0

Responses

StatusMeaningDescription
200OKThe request succeeded. Schema
400Bad RequestAdditional history information was not available for the specified document. Schema
404Not FoundThe specified document or document version was not found. Schema