From afcd3aeebc4f32651ddfe177d17bd60ebba3bde3 Mon Sep 17 00:00:00 2001 From: Marcel Amirault Date: Fri, 15 Mar 2019 09:55:20 +0000 Subject: Docs: Add link to namespace api doc to clarify URL-encoded path --- doc/api/namespaces.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/api') 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: -- cgit v1.2.1