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.

Parâmetros de caminho

agent_idstringObrigatório

O ID de um agente. Ele é retornado na criação do agente.

merge_proposal_idstringObrigatório

Unique identifier for the merge_proposal.

Cabeçalhos

xi-api-keystringOpcional

Solicitação

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

New title for the merge_proposal.

descriptionstring or nullOpcional<=4096 characters

New description for the merge_proposal.

requested_reviewer_user_idslist of strings or nullOpcional
Replacement list of user IDs to request a review from.
closebooleanOpcionalPadrão é false

When true, close the merge_proposal without merging.

Resposta

Resposta bem-sucedida

idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstringOpcionalPadrão é
requested_reviewer_user_idslist of stringsOpcional
reviewslist of objectsOpcional
commentslist of objectsOpcional
outcomeobjectOpcional
author_user_idstring or nullOpcional

User ID of the merge_proposal’s author.

access_infoobject or nullOpcional

Access information for the merge_proposal, including creator.

Erros

422
Unprocessable Entity Error