Get headers for summary of action history for a document
Gets headers for a summary of action history for a document. 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 document. 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 document, providing an exhaustive list of all possible filter options.
Name | Type | Required | Description |
---|---|---|---|
documentId | string | true | The ID of the document. |
objectTypeName | string | true | The object type of the document. |
Name | Type | Required | Description |
---|---|---|---|
actionType | string | false | The filter criteria for the request. Basic selection filter syntax for the 'actionType' field is supported. For example: '?actionType=DOCUMENT_EDIT|COMMENT_CREATE' returns only DOCUMENT_EDIT or COMMENT_CREATE 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. The only supported sort criteria are 'createdAt' ascending and 'createdAt' descending. Default: createdAt:descending |
start | integer | false | The start index. This is used for paging. Default: 0 |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | ||
400 | Bad Request | Action history was not available for the specified document. | ||
404 | Not Found | The specified document was not found. |