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.

Pfadparameter

agent_idstringErforderlich

Die ID eines Agenten. Sie wird beim Erstellen des Agenten zurückgegeben.

merge_proposal_idstringErforderlich

Unique identifier for the merge_proposal.

Header

xi-api-keystringOptional

Anfrage

This endpoint expects an object.
titlestring or nullOptional1-140 characters

New title for the merge_proposal.

descriptionstring or nullOptional<=4096 characters

New description for the merge_proposal.

requested_reviewer_user_idslist of strings or nullOptional
Replacement list of user IDs to request a review from.
closebooleanOptionalStandardwert ist false

When true, close the merge_proposal without merging.

Antwort

Erfolgreiche Antwort
idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstringOptionalStandardwert ist
requested_reviewer_user_idslist of stringsOptional
reviewslist of objectsOptional
commentslist of objectsOptional
outcomeobjectOptional
author_user_idstring or nullOptional

User ID of the merge_proposal’s author.

access_infoobject or nullOptional

Access information for the merge_proposal, including creator.

Fehler

422
Unprocessable Entity Error