| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -78,11 +78,14 @@ List MRs for a project:: | |||
| 78 | 78 | ||
| 79 | 79 | You can filter and sort the returned list with the following parameters: | |
| 80 | 80 | ||
| 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`` | ||
| 83 | 83 | * ``order_by``: sort by ``created_at`` or ``updated_at`` | |
| 84 | 84 | * ``sort``: sort order (``asc`` or ``desc``) | |
| 85 | 85 | ||
| 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 | + | ||
| 86 | 89 | For example:: | |
| 87 | 90 | ||
| 88 | 91 | mrs = project.mergerequests.list(state='merged', order_by='updated_at') | |
| Back | FazBrowse Home | New Git URL |
0 commit comments