메인 콘텐츠로 건너뛰기
POST
/
annotation_queues
/
{queue_id}
/
items
/
{item_id}
/
progress
어노테이션 큐 항목 진행 상태 업데이트
curl --request POST \
  --url https://api.example.com/annotation_queues/{queue_id}/items/{item_id}/progress \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "annotation_state": "<string>"
}
'
{
  "item": {
    "id": "<string>",
    "project_id": "<string>",
    "queue_id": "<string>",
    "call_id": "<string>",
    "call_started_at": "2023-11-07T05:31:56Z",
    "call_op_name": "<string>",
    "call_trace_id": "<string>",
    "display_fields": [
      "<string>"
    ],
    "annotation_state": "unstarted",
    "created_at": "2023-11-07T05:31:56Z",
    "created_by": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "call_ended_at": "2023-11-07T05:31:56Z",
    "added_by": "<string>",
    "annotator_user_id": "<string>",
    "deleted_at": "2023-11-07T05:31:56Z",
    "position_in_queue": 123
  }
}

인증

Authorization
string
header
필수

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

경로 매개변수

queue_id
string
필수
item_id
string
필수

본문

application/json

주석 진행 상태를 업데이트하기 위한 요청 본문입니다(queue_id와 item_id는 경로에서 가져옵니다).

참고: wb_user_id는 본문에 포함되지 않으며 인증된 세션을 기반으로 서버 측에서 설정됩니다.

project_id
string
필수
예시:

"entity/project"

annotation_state
string
필수

새 상태: 'in_progress', 'completed' 또는 'skipped'

예시:

"in_progress"

"completed"

"skipped"

응답

성공적인 응답

annotation 상태 업데이트에 대한 응답입니다.

item
AnnotationQueueItemSchema · object
필수

annotation queue 항목 응답을 위한 스키마입니다.