GitLab

Approve merge request

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Inputs

Champ

Type

Description

projectId [required]

string

The ID or path of the project

mergeRequestIid [required]

number

The internal ID of the merge request.

sha

string

The sha parameter works in the same way as when accepting a merge request: if it is passed, then it must match the current HEAD of the merge request for the approval to be added. If it does not match, the response code is 409.

Outputs

Champ

Type

Description

internal_id

number

id

number

iid

number

project_id

number

title

string

description

string

state

string

created_at

string

updated_at

string

merge_status

string

approvals_required

number

approvals_left

number

approved_by

[object]