탐색으로 건너뛰기

에이전트 브랜치 업데이트

이름, 설명, 보관 상태, 보호 수준, main으로의 자동 리베이스 등 에이전트 브랜치 속성을 업데이트합니다.

경로 매개변수

agent_idstring필수

에이전트의 ID입니다. 에이전트 생성 시 반환됩니다.

branch_idstring필수

브랜치의 고유 식별자입니다.

헤더

xi-api-keystring선택 사항

요청

This endpoint expects an object.
namestring선택 사항1-140 characters

브랜치의 새 이름입니다. 에이전트 내에서 고유해야 합니다.

descriptionstring선택 사항<=4096 characters

브랜치의 새 설명입니다. 빈 문자열을 전달하면 지울 수 있습니다.

is_archivedboolean선택 사항

브랜치를 보관할지 여부입니다.

protection_statusenum선택 사항기본값 writer_perms_required

브랜치의 보호 수준

허용된 값:
auto_rebaseboolean선택 사항

true이면 새 기본 브랜치 버전이 생성될 때마다 이 브랜치를 기본 브랜치로 자동 리베이스합니다. 기본 브랜치에서는 활성화할 수 없습니다.

응답

성공 응답

idstring
namestring
agent_idstring
descriptionstring
created_atinteger
last_committed_atinteger
is_archivedboolean
protection_statusenum선택 사항기본값 writer_perms_required
허용된 값:
auto_rebaseboolean선택 사항기본값 false
access_infoobject선택 사항

브랜치의 액세스 정보

current_live_percentagedouble선택 사항기본값 0

브랜치에서 라이브 상태인 트래픽 비율

parent_branchobject선택 사항

브랜치의 상위 브랜치

most_recent_versionslist of objects선택 사항

브랜치의 최신 버전

오류

422
Branches Update Request Unprocessable Entity Error