Commit 5fc1d2ad authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-namespaces-path' into 'master'

Docs: Add link to namespace api doc to clarify URL-encoded path

Closes #57292

See merge request gitlab-org/gitlab-ce!26083
parents 4144a0fd afcd3aee
...@@ -64,9 +64,9 @@ Get all namespaces that match a string in their name or path. ...@@ -64,9 +64,9 @@ Get all namespaces that match a string in their name or path.
GET /namespaces?search=foobar GET /namespaces?search=foobar
``` ```
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- | | --------- | ------ | -------- | ----------- |
| `search` | string | no | Returns a list of namespaces the user is authorized to see based on the search criteria | | `search` | string | no | Returns a list of namespaces the user is authorized to see based on the search criteria |
Example request: Example request:
...@@ -98,9 +98,9 @@ Get a namespace by ID. ...@@ -98,9 +98,9 @@ Get a namespace by ID.
GET /namespaces/:id GET /namespaces/:id
``` ```
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- | | --------- | -------------- | -------- | ----------- |
| `id` | integer/string | yes | ID or path of the namespace | | `id` | integer/string | yes | ID or [URL-encoded path of the namespace](README.md#namespaced-path-encoding) |
Example request: Example request:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment