diff options
author | Rémy Coutable <remy@rymai.me> | 2018-04-16 12:30:40 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-04-17 15:20:07 +0200 |
commit | 422aa5a62d704f5656d15dd79677d4393f0668a2 (patch) | |
tree | 209ca0c00b1acbbd0d3aa98778aa35a697ce9e80 /doc | |
parent | 4ed152e4ba7efede082a9c8884fd94f0a113e398 (diff) | |
download | gitlab-ce-422aa5a62d704f5656d15dd79677d4393f0668a2.tar.gz |
[API] Fix URLs in the 'Link' header for 'GET /projects/:id/repository/contributors' when no value is passed for 'order_by' or 'sort'
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/repositories.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/repositories.md b/doc/api/repositories.md index 96609cd530f..5aff255c20a 100644 --- a/doc/api/repositories.md +++ b/doc/api/repositories.md @@ -183,7 +183,7 @@ GET /projects/:id/repository/contributors Parameters: - `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user -- `order_by` (optional) - Return contributors ordered by `name`, `email`, or `commits` fields. If not given contributors are ordered by commit date. +- `order_by` (optional) - Return contributors ordered by `name`, `email`, or `commits` (orders by commit date) fields. Default is `commits` - `sort` (optional) - Return contributors sorted in `asc` or `desc` order. Default is `asc` Response: |