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/releases/index.md')
-rw-r--r--doc/api/releases/index.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/api/releases/index.md b/doc/api/releases/index.md
index c2dd9108364..47cef0e5fa0 100644
--- a/doc/api/releases/index.md
+++ b/doc/api/releases/index.md
@@ -456,6 +456,33 @@ Example response:
}
```
+## Collect release evidence **(PREMIUM ONLY)**
+
+> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/199065) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.10.
+
+Create Evidence for an existing Release.
+
+```plaintext
+POST /projects/:id/releases/:tag_name/evidence
+```
+
+| Attribute | Type | Required | Description |
+| ------------- | -------------- | -------- | ----------------------------------------------------------------------------------- |
+| `id` | integer/string | yes | The ID or [URL-encoded path of the project](../README.md#namespaced-path-encoding). |
+| `tag_name` | string | yes | The tag where the release will be created from. |
+
+Example request:
+
+```shell
+curl --request POST --header "PRIVATE-TOKEN: gDybLx3yrUK_HLp3qPjS" "https://gitlab.example.com/api/v4/projects/24/releases/v0.1/evidence"
+```
+
+Example response:
+
+```json
+200
+```
+
## Update a release
Update a Release.