Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite660fa8

Browse files
committed
docs(merge_requests): add new possible merge request state and link to the upstream docs
The actual documentation do not mention the locked state for a merge request
1 parent04e0d24 commite660fa8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎docs/gl_objects/merge_requests.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,14 @@ List MRs for a project::
7878

7979
You can filter and sort the returned list with the following parameters:
8080

81-
* ``state``: state of the MR. It can be one of ``all``, ``merged``, ``opened``
82-
or ``closed``
81+
* ``state``: state of the MR. It can be one of ``all``, ``merged``, ``opened``,
82+
``closed`` or ``locked``
8383
* ``order_by``: sort by ``created_at`` or ``updated_at``
8484
* ``sort``: sort order (``asc`` or ``desc``)
8585

86+
You can find a full updated list of parameters here:
87+
https://docs.gitlab.com/ee/api/merge_requests.html#list-merge-requests
88+
8689
For example::
8790

8891
mrs = project.mergerequests.list(state='merged', order_by='updated_at')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp