diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-04-08 10:54:00 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-04-08 12:38:59 +0200 |
commit | 5422554b8647c3fc01c44a5790b35c20596f1770 (patch) | |
tree | bb70e15cd48471131f60e622c895cb7b3ceb6072 /doc/api/deployments.md | |
parent | 82fad17a7d40b7d19e0ee56abbe484c187d3360d (diff) | |
download | gitlab-ce-5422554b8647c3fc01c44a5790b35c20596f1770.tar.gz |
Mention URL path encoding to all API docs
Diffstat (limited to 'doc/api/deployments.md')
-rw-r--r-- | doc/api/deployments.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/deployments.md b/doc/api/deployments.md index 76e18c8a9bd..55687ecff8f 100644 --- a/doc/api/deployments.md +++ b/doc/api/deployments.md @@ -10,7 +10,7 @@ GET /projects/:id/deployments | Attribute | Type | Required | Description | |-----------|---------|----------|---------------------| -| `id` | integer | yes | The ID of a project | +| `id` | integer | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user | ```bash curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/deployments" @@ -147,7 +147,7 @@ GET /projects/:id/deployments/:deployment_id | Attribute | Type | Required | Description | |-----------|---------|----------|---------------------| -| `id` | integer | yes | The ID of a project | +| `id` | integer | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user | | `deployment_id` | integer | yes | The ID of the deployment | ```bash |