Commit 986cdce9 authored by Abhijeet Chatterjee's avatar Abhijeet Chatterjee Committed by Nick Gaskill

Clean up vale substitution warnings (api)

parent c27332d3
...@@ -10,7 +10,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -10,7 +10,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/21811) in GitLab 12.9. > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/21811) in GitLab 12.9.
Get a list of all deploy tokens across the GitLab instance. This endpoint requires administrator access. Get a list of all deploy tokens across the GitLab instance. This endpoint requires the Administrator role.
```plaintext ```plaintext
GET /deploy_tokens GET /deploy_tokens
......
...@@ -11,7 +11,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -11,7 +11,7 @@ info: To determine the technical writer assigned to the Stage/Group associated w
Instance-level Kubernetes clusters allow you to connect a Kubernetes cluster to the GitLab instance, which enables you to use the same cluster across multiple projects. [More information](../user/instance/clusters/index.md) Instance-level Kubernetes clusters allow you to connect a Kubernetes cluster to the GitLab instance, which enables you to use the same cluster across multiple projects. [More information](../user/instance/clusters/index.md)
NOTE: NOTE:
Users need administrator access to use these endpoints. Users need the Administrator role to use these endpoints.
## List instance clusters ## List instance clusters
......
...@@ -78,7 +78,7 @@ GET projects/:id/packages/debian/pool/:distribution/:letter/:package_name/:packa ...@@ -78,7 +78,7 @@ GET projects/:id/packages/debian/pool/:distribution/:letter/:package_name/:packa
| `letter` | string | yes | The Debian Classification (first-letter or lib-first-letter). | | `letter` | string | yes | The Debian Classification (first-letter or lib-first-letter). |
| `package_name` | string | yes | The source package name. | | `package_name` | string | yes | The source package name. |
| `package_version` | string | yes | The source package version. | | `package_version` | string | yes | The source package version. |
| `file_name` | string | yes | The file name. | | `file_name` | string | yes | The filename. |
```shell ```shell
curl --header "Private-Token: <personal_access_token>" "https://gitlab.example.com/api/v4/projects/1/packages/pool/my-distro/a/my-pkg/1.0.0/example_1.0.0~alpha2_amd64.deb" curl --header "Private-Token: <personal_access_token>" "https://gitlab.example.com/api/v4/projects/1/packages/pool/my-distro/a/my-pkg/1.0.0/example_1.0.0~alpha2_amd64.deb"
...@@ -92,7 +92,7 @@ curl --header "Private-Token: <personal_access_token>" \ ...@@ -92,7 +92,7 @@ curl --header "Private-Token: <personal_access_token>" \
--remote-name --remote-name
``` ```
This writes the downloaded file using the remote file name in the current directory. This writes the downloaded file using the remote filename in the current directory.
## Route prefix ## Route prefix
...@@ -150,7 +150,7 @@ curl --header "Private-Token: <personal_access_token>" \ ...@@ -150,7 +150,7 @@ curl --header "Private-Token: <personal_access_token>" \
--remote-name --remote-name
``` ```
This writes the downloaded file using the remote file name in the current directory. This writes the downloaded file using the remote filename in the current directory.
## Download a signed distribution Release file ## Download a signed distribution Release file
...@@ -178,7 +178,7 @@ curl --header "Private-Token: <personal_access_token>" \ ...@@ -178,7 +178,7 @@ curl --header "Private-Token: <personal_access_token>" \
--remote-name --remote-name
``` ```
This writes the downloaded file using the remote file name in the current directory. This writes the downloaded file using the remote filename in the current directory.
## Download a release file signature ## Download a release file signature
...@@ -206,7 +206,7 @@ curl --header "Private-Token: <personal_access_token>" \ ...@@ -206,7 +206,7 @@ curl --header "Private-Token: <personal_access_token>" \
--remote-name --remote-name
``` ```
This writes the downloaded file using the remote file name in the current directory. This writes the downloaded file using the remote filename in the current directory.
## Download a binary file's index ## Download a binary file's index
...@@ -236,4 +236,4 @@ curl --header "Private-Token: <personal_access_token>" \ ...@@ -236,4 +236,4 @@ curl --header "Private-Token: <personal_access_token>" \
--remote-name --remote-name
``` ```
This writes the downloaded file using the remote file name in the current directory. This writes the downloaded file using the remote filename in the current directory.
...@@ -63,7 +63,7 @@ GET projects/:id/packages/helm/:channel/charts/:file_name.tgz ...@@ -63,7 +63,7 @@ GET projects/:id/packages/helm/:channel/charts/:file_name.tgz
| ----------- | ------ | -------- | ----------- | | ----------- | ------ | -------- | ----------- |
| `id` | string | yes | The ID or full path of the project. | | `id` | string | yes | The ID or full path of the project. |
| `channel` | string | yes | Helm repository channel. | | `channel` | string | yes | Helm repository channel. |
| `file_name` | string | yes | Chart file name. | | `file_name` | string | yes | Chart filename. |
```shell ```shell
curl --user <username>:<personal_access_token> \ curl --user <username>:<personal_access_token> \
......
...@@ -115,7 +115,7 @@ POST /projects/:id/pipeline_schedules ...@@ -115,7 +115,7 @@ POST /projects/:id/pipeline_schedules
| `description` | string | yes | The description of the pipeline schedule. | | `description` | string | yes | The description of the pipeline schedule. |
| `ref` | string | yes | The branch or tag name that is triggered. | | `ref` | string | yes | The branch or tag name that is triggered. |
| `cron` | string | yes | The [cron](https://en.wikipedia.org/wiki/Cron) schedule, for example: `0 1 * * *`. | | `cron` | string | yes | The [cron](https://en.wikipedia.org/wiki/Cron) schedule, for example: `0 1 * * *`. |
| `cron_timezone` | string | no | The timezone supported by `ActiveSupport::TimeZone`, for example: `Pacific Time (US & Canada)` (default: `UTC`). | | `cron_timezone` | string | no | The time zone supported by `ActiveSupport::TimeZone`, for example: `Pacific Time (US & Canada)` (default: `UTC`). |
| `active` | boolean | no | The activation of pipeline schedule. If false is set, the pipeline schedule is initially deactivated (default: `true`). | | `active` | boolean | no | The activation of pipeline schedule. If false is set, the pipeline schedule is initially deactivated (default: `true`). |
```shell ```shell
...@@ -162,7 +162,7 @@ PUT /projects/:id/pipeline_schedules/:pipeline_schedule_id ...@@ -162,7 +162,7 @@ PUT /projects/:id/pipeline_schedules/:pipeline_schedule_id
| `description` | string | no | The description of the pipeline schedule. | | `description` | string | no | The description of the pipeline schedule. |
| `ref` | string | no | The branch or tag name that is triggered. | | `ref` | string | no | The branch or tag name that is triggered. |
| `cron` | string | no | The [cron](https://en.wikipedia.org/wiki/Cron) schedule, for example: `0 1 * * *`. | | `cron` | string | no | The [cron](https://en.wikipedia.org/wiki/Cron) schedule, for example: `0 1 * * *`. |
| `cron_timezone` | string | no | The timezone supported by `ActiveSupport::TimeZone` (for example `Pacific Time (US & Canada)`), or `TZInfo::Timezone` (for example `America/Los_Angeles`). | | `cron_timezone` | string | no | The time zone supported by `ActiveSupport::TimeZone` (for example `Pacific Time (US & Canada)`), or `TZInfo::Timezone` (for example `America/Los_Angeles`). |
| `active` | boolean | no | The activation of pipeline schedule. If false is set, the pipeline schedule is initially deactivated. | | `active` | boolean | no | The activation of pipeline schedule. If false is set, the pipeline schedule is initially deactivated. |
```shell ```shell
......
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