Commit 9a3de96f authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-missing-id-parameter-description-projects-api' into 'master'

Docs: Add missing `:id` path parameter description to some Projects API endpoints

See merge request gitlab-org/gitlab!28764
parents 8d6d84eb 492813ec
...@@ -970,6 +970,7 @@ GET /projects/:id/users ...@@ -970,6 +970,7 @@ GET /projects/:id/users
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| ------------ | ------------- | -------- | ----------- | | ------------ | ------------- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
| `search` | string | no | Search for specific users | | `search` | string | no | Search for specific users |
| `skip_users` | integer array | no | Filter out users with the specified IDs | | `skip_users` | integer array | no | Filter out users with the specified IDs |
...@@ -1515,6 +1516,7 @@ GET /projects/:id/starrers ...@@ -1515,6 +1516,7 @@ GET /projects/:id/starrers
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- | | --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
| `search` | string | no | Search for specific users. | | `search` | string | no | Search for specific users. |
```shell ```shell
...@@ -1558,6 +1560,10 @@ Get languages used in a project with percentage value. ...@@ -1558,6 +1560,10 @@ Get languages used in a project with percentage value.
GET /projects/:id/languages GET /projects/:id/languages
``` ```
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
```shell ```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/languages" curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/languages"
``` ```
...@@ -2183,6 +2189,7 @@ PUT /projects/:id/transfer ...@@ -2183,6 +2189,7 @@ PUT /projects/:id/transfer
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- | | --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
| `namespace` | integer/string | yes | The ID or path of the namespace to transfer to project to | | `namespace` | integer/string | yes | The ID or path of the namespace to transfer to project to |
## Branches ## Branches
......
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