summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorMarcel Amirault <ravlen@gmail.com>2019-03-15 09:55:20 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-03-15 09:55:20 +0000
commitafcd3aeebc4f32651ddfe177d17bd60ebba3bde3 (patch)
tree2a8d1d70564f40b131eff7c9bd22349fc869f417 /doc/api
parent4144a0fd4883d348949b6b81bc868db50e94c7ee (diff)
downloadgitlab-ce-afcd3aeebc4f32651ddfe177d17bd60ebba3bde3.tar.gz
Docs: Add link to namespace api doc to clarify URL-encoded path
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/namespaces.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/namespaces.md b/doc/api/namespaces.md
index b8bc4c40124..b66a3198ffb 100644
--- a/doc/api/namespaces.md
+++ b/doc/api/namespaces.md
@@ -64,9 +64,9 @@ Get all namespaces that match a string in their name or path.
GET /namespaces?search=foobar
```
-| Attribute | Type | Required | Description |
-| --------- | ---- | -------- | ----------- |
-| `search` | string | no | Returns a list of namespaces the user is authorized to see based on the search criteria |
+| Attribute | Type | Required | Description |
+| --------- | ------ | -------- | ----------- |
+| `search` | string | no | Returns a list of namespaces the user is authorized to see based on the search criteria |
Example request:
@@ -98,9 +98,9 @@ Get a namespace by ID.
GET /namespaces/:id
```
-| Attribute | Type | Required | Description |
-| --------- | ---- | -------- | ----------- |
-| `id` | integer/string | yes | ID or path of the namespace |
+| Attribute | Type | Required | Description |
+| --------- | -------------- | -------- | ----------- |
+| `id` | integer/string | yes | ID or [URL-encoded path of the namespace](README.md#namespaced-path-encoding) |
Example request: