diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/commits.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md index fb090f51a2e..eb3fb7b2195 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -18,6 +18,7 @@ GET /projects/:id/repository/commits | `all` | boolean | no | Retrieve every commit from the repository | | `with_stats` | boolean | no | Stats about each commit will be added to the response | | `first_parent` | boolean | no | Follow only the first parent commit upon seeing a merge commit | +| `order` | string | no | List commits in order. Possible value: [`topo`](https://git-scm.com/docs/git-log#Documentation/git-log.txt---topo-order). | ```shell curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/repository/commits" |