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.

Path parameters

agent_idstringRequired

एजेंट की id। यह एजेंट बनाते समय लौटाई जाती है।

merge_proposal_idstringRequired

Unique identifier for the merge_proposal.

Headers

xi-api-keystringOptional

Request

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.
closebooleanOptionalDefaults to false

When true, close the merge_proposal without merging.

Response

सफल रिस्पॉन्स

idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstringOptionalDefaults to
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.

Errors

422
Unprocessable Entity Error