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.

Parametry ścieżki

agent_idstringWymagany
The id of an agent. This is returned on agent creation.
merge_proposal_idstringWymagany

Unique identifier for the merge_proposal.

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
titlestringOpcjonalny1-140 characters

New title for the merge_proposal.

descriptionstringOpcjonalny<=4096 characters

New description for the merge_proposal.

requested_reviewer_user_idslist of stringsOpcjonalny
Replacement list of user IDs to request a review from.
closebooleanOpcjonalnyDomyślnie false

When true, close the merge_proposal without merging.

Odpowiedź

Successful Response
idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstringOpcjonalnyDomyślnie
requested_reviewer_user_idslist of stringsOpcjonalny
reviewslist of objectsOpcjonalny
commentslist of objectsOpcjonalny
outcomeobjectOpcjonalny
author_user_idstringOpcjonalny

User ID of the merge_proposal’s author.

access_infoobjectOpcjonalny

Access information for the merge_proposal, including creator.

Błędy

422
Merge Proposals Update Request Unprocessable Entity Error