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 ruta

agent_idstringRequerido
El ID de un agente. Se devuelve al crear el agente.
merge_proposal_idstringRequerido

Unique identifier for the merge_proposal.

Encabezados

xi-api-keystringOpcional

Solicitud

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.
closebooleanOpcionalValor predeterminado: false

When true, close the merge_proposal without merging.

Respuesta

Respuesta correcta.
idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstringOpcionalValor predeterminado:
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.

Errores

422
Unprocessable Entity Error