메인 콘텐츠로 건너뛰기
PUT
/
annotation_queues
/
{queue_id}
어노테이션 큐 업데이트
curl --request PUT \
  --url https://api.example.com/annotation_queues/{queue_id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "name": "Updated Queue Name",
  "description": "Updated description",
  "scorer_refs": [
    "weave:///entity/project/scorer/error_severity:abc123",
    "weave:///entity/project/scorer/resolution_quality:def456"
  ]
}
'
{
  "queue": {
    "id": "<string>",
    "project_id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "scorer_refs": [
      "<string>"
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "created_by": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_at": "2023-11-07T05:31:56Z"
  }
}

인증

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
필수

본문

application/json

어노테이션 큐를 업데이트하기 위한 요청 본문입니다(queue_id는 경로에서 가져옵니다).

project_id를 제외한 모든 필드는 선택 사항이며, 제공된 필드만 업데이트됩니다.

project_id
string
필수
예시:

"entity/project"

name
string | null
예시:

"Updated Queue Name"

description
string | null
예시:

"Updated description"

scorer_refs
string[] | null
예시:
[
"weave:///entity/project/scorer/error_severity:abc123",
"weave:///entity/project/scorer/resolution_quality:def456"
]

응답

성공 응답

어노테이션 큐 업데이트에 대한 응답입니다.

queue
AnnotationQueueSchema · object
필수

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