Examiner une proposition de fusion

Approve a merge_proposal or request changes on it. A user’s latest review replaces their previous one. Non-admins need an approval from another user before the merge is allowed.

Paramètres de chemin

agent_idstringRequis

L’ID d’un agent. Il est renvoyé lors de la création de l’agent.

merge_proposal_idstringRequis

Identifiant unique de la merge_proposal.

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
stateenumRequis

Le verdict de la révision.

Valeurs autorisées:
commentstringOptionnel<=4096 charactersPar défaut

Commentaire facultatif à joindre à l’évaluation.

Réponse

Réponse réussie

idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstringOptionnelPar défaut
requested_reviewer_user_idslist of stringsOptionnel
reviewslist of objectsOptionnel
commentslist of objectsOptionnel
outcomeobjectOptionnel
author_user_idstring or nullOptionnel

ID utilisateur de l’auteur de la merge_proposal.

access_infoobject or nullOptionnel

Informations d’accès à merge_proposal, y compris son créateur.

Erreurs

422
Unprocessable Entity Error