GitLab

Get 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.

Show information about a single merge request.

Inputs

Champ

Type

Description

projectId [required]

string

The ID or path of the project

mergeRequestIid [required]

number

The internal ID of the merge request.

includeDivergedCommitsCount

boolean

If true, response includes the commits behind the target branch.

includeRebaseInProgress

boolean

If true, response includes whether a rebase operation is in progress.

renderHtml

boolean

If true, response includes rendered HTML for title and description.

Outputs

Expand All

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

merged_by

object

merge_user

object

merged_at

string

closed_by

object

closed_at

string

target_branch

string

source_branch

string

user_notes_count

number

upvotes

number

downvotes

number

author

object

id

number

username

string

name

string

state

string

avatar_url

string

web_url

string

assignees

[object]

assignee

object

reviewers

[object]

id

string

short_id

string

title

string

author_name

string

author_email

string

created_at

string

message

string

source_project_id

number

target_project_id

number

labels

[string]

draft

boolean

work_in_progress

boolean

milestone

object

merge_when_pipeline_succeeds

boolean

merge_status

string

detailed_merge_status

string

sha

string

merge_commit_sha

string

squash_commit_sha

string

discussion_locked

boolean

should_remove_source_branch

boolean

force_remove_source_branch

boolean

reference

string

references

object

short

string

relative

string

full

string

web_url

string

time_stats

object

time_estimate

number

total_time_spent

number

squash

boolean

squash_on_merge

string

task_completion_status

object

count

number

completed_count

number

has_conflicts

boolean

blocking_discussions_resolved

boolean

approvals_before_merge

number

subscribed

boolean

changes_count

string

latest_build_started_at

string

latest_build_finished_at

string

first_deployed_to_production_at

string

pipeline

object

head_pipeline

object

diff_refs

object

base_sha

string

head_sha

string

start_sha

string

merge_error

string

rebase_in_progress

boolean

diverged_commits_count

number

first_contribution

boolean

user

object

can_merge

boolean

human_time_estimate

string

human_total_time_spent

string

prepared_at

string

locked

boolean