diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2018-01-17 21:01:06 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-01-17 21:01:06 +0000 |
commit | 195448c28c3a3238126e9e21f7b1abb8f186980e (patch) | |
tree | 0d2d760317e17aeb3a7dc0d74ffc5d1978a00cb0 /doc/api/deployments.md | |
parent | 525b178e5d5cfe127fe2cfc6f211725e6c3089ae (diff) | |
parent | f351cc28c2c878bf491bb0886be65bf35b58b261 (diff) | |
download | gitlab-ce-dispatcher-project-mr-edit.tar.gz |
Merge branch 'master' into 'dispatcher-project-mr-edit'dispatcher-project-mr-edit
# Conflicts:
# app/assets/javascripts/dispatcher.js
Diffstat (limited to 'doc/api/deployments.md')
-rw-r--r-- | doc/api/deployments.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/deployments.md b/doc/api/deployments.md index ab9e63e01d3..fd11894ea8f 100644 --- a/doc/api/deployments.md +++ b/doc/api/deployments.md @@ -11,6 +11,8 @@ GET /projects/:id/deployments | 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 deployments ordered by `id` or `iid` or `created_at` or `ref` fields. Default is `id` | +| `sort` | string | no | Return deployments sorted in `asc` or `desc` order. Default is `asc` | ```bash curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/deployments" |