Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/deployments.md')
-rw-r--r--doc/api/deployments.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/deployments.md b/doc/api/deployments.md
index e937a234b08..9ef75741142 100644
--- a/doc/api/deployments.md
+++ b/doc/api/deployments.md
@@ -7,6 +7,8 @@ type: concepts, howto
# Deployments API **(FREE)**
+> Support for [GitLab CI/CD job token](../ci/jobs/ci_job_token.md) authentication [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/414549) in GitLab 16.2.
+
## List project deployments
Get a list of deployments in a project.
@@ -359,7 +361,7 @@ POST /projects/:id/deployments
| `sha` | string | yes | The SHA of the commit that is deployed. |
| `ref` | string | yes | The name of the branch or tag that is deployed. |
| `tag` | boolean | yes | A boolean that indicates if the deployed ref is a tag (`true`) or not (`false`). |
-| `status` | string | yes | The status to filter deployments by. One of `running`, `success`, `failed`, or `canceled`. |
+| `status` | string | yes | The status of the deployment that is created. One of `running`, `success`, `failed`, or `canceled` |
```shell
curl --data "environment=production&sha=a91957a858320c0e17f3a0eca7cfacbff50ea29a&ref=main&tag=false&status=success" \