diff options
author | haseeb <haseebeqx@gmail.com> | 2017-12-14 16:42:15 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-12-14 16:42:15 +0300 |
commit | e7b40c2f6e79e3f32e45baa5a037e14e02f7165d (patch) | |
tree | d219c4ac6db4ab4fc243ad10444c998251f56175 /doc/api/tags.md | |
parent | b0bc676f209257115a16a0ba6fa736a97693c6fe (diff) |
sorting for tags api
Diffstat (limited to 'doc/api/tags.md')
-rw-r--r-- | doc/api/tags.md | 6 |
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 [ |