Get headers for summary of action history for a document

head/documents/{objectTypeName}/{documentId}/actions
Internal-Use Only

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.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
documentId
string
true

The ID of the document.

objectTypeName
string
true

The object type of the document.

Query Parameters

NameTypeRequiredDescription
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

Header Parameters

NameTypeRequiredDescription
Accept-Item
string
false

If set to 'application/vnd.sas.investigate.action.type', the available action types are returned.

Responses

StatusMeaningDescription
200OKThe request succeeded.
400Bad RequestAction history was not available for the specified document.
404Not FoundThe specified document was not found.