Update A Merge Proposal

Edit an open merge_proposal’s title or description, or close it. The author closing it is recorded as withdrawn; anyone else as rejected.

パスパラメータ

agent_idstring必須

エージェントのID。エージェント作成時に返されます。

merge_proposal_idstring必須

Unique identifier for the merge_proposal.

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
titlestring or nullオプション1-140 characters

New title for the merge_proposal.

descriptionstring or nullオプション<=4096 characters

New description for the merge_proposal.

requested_reviewer_user_idslist of strings or nullオプション
Replacement list of user IDs to request a review from.
closebooleanオプションデフォルト値 false

When true, close the merge_proposal without merging.

レスポンス

成功レスポンス。

idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstringオプションデフォルト値
requested_reviewer_user_idslist of stringsオプション
reviewslist of objectsオプション
commentslist of objectsオプション
outcomeobjectオプション
author_user_idstring or nullオプション

User ID of the merge_proposal’s author.

access_infoobject or nullオプション

Access information for the merge_proposal, including creator.

エラー

422
Unprocessable Entity Error