Get summary of action history for a link
Gets a summary of action history for a link. Action history summaries contain a link to fetch the full representation. The 'Accept-Item' request header can be used to fetch the 'available action types' for this link. If the 'Accept-Item' header is set to "application/vnd.sas.investigate.action.type", this endpoint returns a collection of action types. This collection represents all of the action types that exist historically for the specified link, providing an exhaustive list of all possible filter options.
1{2 "links": [3 {4 "method": "GET",5 "rel": "self",6 "href": "/svi-datahub/links/@item/actions?_id=witnessed_by%7C_%7Cintel_report%7C_%7Cperson%7C_%7Ce5343e0e-3d68-11e8-b467-0ed5f89f718b&start=0&limit=10",7 "uri": "/svi-datahub/links/@item/actions?_id=witnessed_by%7C_%7Cintel_report%7C_%7Cperson%7C_%7Ce5343e0e-3d68-11e8-b467-0ed5f89f718b&start=0&limit=10",8 "type": "application/vnd.sas.collection",9 "itemType": "application/vnd.sas.investigate.action.summary"10 },11 {12 "method": "GET",13 "rel": "collection",14 "href": "/svi-datahub/links/@item/actions?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",15 "uri": "/svi-datahub/links/@item/actions?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",16 "type": "application/vnd.sas.collection",17 "itemType": "application/vnd.sas.investigate.action.summary"18 },19 {20 "method": "GET",21 "rel": "up",22 "href": "/svi-datahub/links/@item?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",23 "uri": "/svi-datahub/links/@item?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",24 "type": "application/vnd.sas.investigate.action.summary"25 },26 {27 "method": "GET",28 "rel": "availableActionTypes",29 "href": "/svi-datahub/links/@item/actions?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",30 "uri": "/svi-datahub/links/@item/actions?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",31 "type": "application/vnd.sas.collection",32 "itemType": "application/vnd.sas.investigate.action.type"33 }34 ],35 "name": "actions",36 "start": 0,37 "count": 1,38 "items": [39 {40 "actionId": "2",41 "action": "Edited the relationship",42 "actionType": "RELATIONSHIP_EDIT",43 "objectType": "Witnessed by",44 "objectId": "witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",45 "objectVersion": "2",46 "createdBy": "videmo",47 "createdAt": "2023-06-29T22:17:51.061Z",48 "links": [49 {50 "method": "GET",51 "rel": "self",52 "href": "/svi-datahub/links/@item/actions/2?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",53 "uri": "/svi-datahub/links/@item/actions/2?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",54 "type": "application/vnd.sas.investigate.action"55 }56 ],57 "version": 158 }59 ],60 "limit": 10,61 "version": 262}
Name | Type | Required | Description |
---|---|---|---|
actionType | string | false | The filter criteria for the request. The Basic Selection filter syntax for the 'actionType' field is supported. For example: '?actionType=RELATIONSHIP_EDIT' would return only RELATIONSHIP_EDIT actions. |
limit | integer | false | The maximum number of items to return in a page of results. Default: 10 |
sortBy | string | false | The sort criteria for the request. Only sorting by the 'createdAt' field descending or ascending is supported. Default: createdAt:descending |
start | integer | false | The start index. This is used for paging. Default: 0 |
_id | string | true | The ID for an individual link. A link ID uses the following format:
Link ID component details:
When submitting the request, the pipe character ( |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Schema | |
400 | Bad Request | Action history was not available for the specified link. | Schema | |
404 | Not Found | The specified link was not found. | Schema |