curl --request POST \
--url https://your-sift-api-url.com/api/v1/annotations/{annotationId}/logs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "ANNOTATION_LOG_KIND_UNSPECIFIED",
"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>"
}
}
]
}
}
'{
"annotationLog": {
"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>"
}
}
]
}
}
}Creates an annotation log on an annotation.
curl --request POST \
--url https://your-sift-api-url.com/api/v1/annotations/{annotationId}/logs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "ANNOTATION_LOG_KIND_UNSPECIFIED",
"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>"
}
}
]
}
}
'{
"annotationLog": {
"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>"
}
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the parent annotation associated to associate with the new annotation log.
The request for a call to AnnotationLogService_CreateAnnotationLog to create an annotation log.
ANNOTATION_LOG_KIND_UNSPECIFIED, ANNOTATION_LOG_KIND_COMMENT, ANNOTATION_LOG_KIND_STATE_UPDATE, ANNOTATION_LOG_KIND_ASSIGNED Show child attributes
Show child attributes
ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED, ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_TEXT, ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_USER_MENTION A successful response.
The response of a call to AnnotationLogService_CreateAnnotationLog.
Show child attributes
ANNOTATION_LOG_KIND_UNSPECIFIED, ANNOTATION_LOG_KIND_COMMENT, ANNOTATION_LOG_KIND_STATE_UPDATE, ANNOTATION_LOG_KIND_ASSIGNED Show child attributes
ANNOTATION_LOG_STATE_UNSPECIFIED, ANNOTATION_LOG_STATE_CREATED, ANNOTATION_LOG_STATE_OPEN, ANNOTATION_LOG_STATE_FLAGGED, ANNOTATION_LOG_STATE_RESOLVED Show child attributes
Show child attributes
ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_UNSPECIFIED, ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_TEXT, ANNOTATION_COMMENT_BODY_ELEMENT_TYPE_USER_MENTION Was this page helpful?