summaryrefslogtreecommitdiff
path: root/doc/api/deployments.md
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-04-08 10:54:00 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-04-08 12:38:59 +0200
commit5422554b8647c3fc01c44a5790b35c20596f1770 (patch)
treebb70e15cd48471131f60e622c895cb7b3ceb6072 /doc/api/deployments.md
parent82fad17a7d40b7d19e0ee56abbe484c187d3360d (diff)
downloadgitlab-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.md4
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