메인 콘텐츠로 건너뛰기
PUT
/
objs
/
{object_id}
/
aliases
객체 별칭 설정
curl --request PUT \
  --url https://api.example.com/objs/{object_id}/aliases \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "digest": "<string>",
  "aliases": [
    "<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
필수

본문

application/json

별칭을 설정하기 위한 요청 본문입니다(object_id는 경로에서 가져옵니다).

project_id
string
필수
예시:

"entity/project"

digest
string
필수
예시:

"abc123def"

aliases
string[]
필수
예시:
["staging", "v1-candidate"]

응답

성공 응답

The response is of type ObjSetAliasesRes · object.