Skip to main content
GET
/
api
/
v1
/
annotations
/
{annotationId}
/
logs
ListAnnotationLogs
curl --request GET \
  --url https://your-sift-api-url.com/api/v1/annotations/{annotationId}/logs \
  --header 'Authorization: Bearer <token>'
{
  "annotationLogs": [
    {
      "annotationLogId": "<string>",
      "createdDate": "2023-11-07T05:31:56Z",
      "modifiedDate": "2023-11-07T05:31:56Z",
      "annotationId": "<string>",
      "kind": "ANNOTATION_LOG_KIND_UNSPECIFIED",
      "createdByUserId": "<string>",
      "createdByUserName": "<string>",
      "assigned": {
        "assignedToUserId": "<string>",
        "assignedToUserEmail": "<string>"
      },
      "stateUpdate": {
        "state": "ANNOTATION_LOG_STATE_UNSPECIFIED"
      },
      "comment": {
        "body": [
          {
            "type": "ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED",
            "text": "<string>",
            "userMention": {
              "userId": "<string>",
              "userEmail": "<string>"
            }
          }
        ]
      }
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

annotationId
string
required

The ID of the parent annotation associated with the annotation logs.

Query Parameters

pageSize
integer

The maximum number of annotation logs to return. The service may return fewer than this value. If unspecified, at most 50 annotation logs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken
string

A page token, received from a previous ListAnnotationLogs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAnnotationLogs must match the call that provided the page token.

filter
string

A Common Expression Language (CEL) filter string. Available fields to filter by are annotation_log_id, annotation_id, created_by_user_id, annotation_id, created_date, modified_date, and kind. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.

Response

A successful response.

The response of a call to AnnotationLogService_ListAnnotationLogs.

annotationLogs
object[]
nextPageToken
string