메인 콘텐츠로 건너뛰기
PUT
/
objs
/
{object_id}
/
versions
/
{digest}
/
tags
객체 태그 추가
curl --request PUT \
  --url https://api.example.com/objs/{object_id}/versions/{digest}/tags \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "tags": [
    "<string>"
  ]
}
'
{}

인증

Authorization
string
header
필수

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

경로 매개변수

object_id
string
필수
digest
string
필수

본문

application/json

태그를 추가하거나 제거하기 위한 요청 본문입니다(object_id와 digest는 경로에서 가져옵니다).

project_id
string
필수
예시:

"entity/project"

tags
string[]
필수
예시:
["production", "reviewed"]

응답

성공 응답

The response is of type ObjAddTagsRes · object.