このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Approve a merge request.

Inputs

フィールド

種類

説明

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

フィールド

種類

説明

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]