summaryrefslogtreecommitdiff
path: root/doc/api/tags.md
diff options
context:
space:
mode:
authorhaseeb <haseebeqx@gmail.com>2017-12-14 13:42:15 +0000
committerRémy Coutable <remy@rymai.me>2017-12-14 13:42:15 +0000
commite7b40c2f6e79e3f32e45baa5a037e14e02f7165d (patch)
treed219c4ac6db4ab4fc243ad10444c998251f56175 /doc/api/tags.md
parentb0bc676f209257115a16a0ba6fa736a97693c6fe (diff)
downloadgitlab-ce-e7b40c2f6e79e3f32e45baa5a037e14e02f7165d.tar.gz
sorting for tags api
Diffstat (limited to 'doc/api/tags.md')
-rw-r--r--doc/api/tags.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/tags.md b/doc/api/tags.md
index bebe6536b6e..fa25dc76452 100644
--- a/doc/api/tags.md
+++ b/doc/api/tags.md
@@ -12,7 +12,11 @@ GET /projects/:id/repository/tags
Parameters:
-- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user
+| Attribute | Type | Required | Description |
+| --------- | ---- | -------- | ----------- |
+| `id` | integer/string| yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user|
+| `order_by` | string | no | Return tags ordered by `name` or `updated` fields. Default is `updated` |
+| `sort` | string | no | Return tags sorted in `asc` or `desc` order. Default is `desc` |
```json
[