Get an action from the action history of a link
get/links/@item/actions/{actionId}
Gets the full representation of an action from a link's action history. A link to this representation is returned in the links property of an action summary.
1{2 "actionId": "2",3 "action": "Edited the relationship",4 "actionType": "RELATIONSHIP_EDIT",5 "objectType": "Witnessed by",6 "objectId": "witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",7 "objectVersion": "2",8 "createdBy": "videmo",9 "createdAt": "2023-06-29T00:00:00.000Z",10 "links": [11 {12 "method": "GET",13 "rel": "self",14 "href": "/svi-datahub/links/@item/actions/2?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",15 "uri": "/svi-datahub/links/@item/actions/2?_id=witnessed_by|_|intel_report|_|person|_|e5343e0e-3d68-11e8-b467-0ed5f89f718b",16 "type": "application/vnd.sas.investigate.action"17 }18 ],19 "version": 1,20 "items": [21 {22 "type": "tableItem",23 "action": "Changed properties",24 "headings": [25 "Property",26 "Original Value",27 "New Value"28 ],29 "rows": [30 [31 {32 "value": "Auto Generated Sk",33 "type": "STRING"34 },35 {36 "value": "e5343e0e-3d68-11e8-b467-0ed5f89f718b",37 "type": "STRING"38 }39 ],40 [41 {42 "value": "Person Id",43 "type": "STRING"44 },45 {46 "value": "uuid_102",47 "type": "STRING"48 }49 ],50 [51 {52 "value": "Report Id",53 "type": "STRING"54 },55 {56 "value": "uuid_502",57 "type": "STRING"58 }59 ],60 [61 {62 "value": "Description",63 "type": "STRING"64 },65 {66 "value": "some description",67 "type": "STRING"68 }69 ],70 [71 {72 "value": "Created By User Id",73 "type": "STRING"74 },75 {76 "value": "unit_test",77 "type": "STRING"78 }79 ],80 [81 {82 "value": "Last Updated By User Id",83 "type": "STRING"84 },85 {86 "value": "videmo",87 "type": "STRING"88 }89 ]90 ]91 }92 ]93}
Name | Type | Required | Description |
---|---|---|---|
_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 or requested action was not found. | Schema |