Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-12 21:08:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-12 21:08:31 +0300
commit884a65481f9e5365329f4ba371ac5b813c45a2f9 (patch)
treecc4030d36a739eaf91543d270db9a33093f51446 /doc/api/releases
parentb17f0b91a66f2101a54dd1efed0c4973f04b1daf (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/releases')
-rw-r--r--doc/api/releases/index.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/releases/index.md b/doc/api/releases/index.md
index da58de12144..4dac9f61469 100644
--- a/doc/api/releases/index.md
+++ b/doc/api/releases/index.md
@@ -22,6 +22,8 @@ GET /projects/:id/releases
| Attribute | Type | Required | Description |
| ------------- | -------------- | -------- | ----------------------------------------------------------------------------------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](../README.md#namespaced-path-encoding). |
+| `order_by` | string | no | The field to use as order. Either `released_at` (default) or `created_at`. |
+| `sort` | string | no | The direction of the order. Either `desc` (default) for descending order or `asc` for ascending order. |
Example request: