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/links.md')
-rw-r--r--doc/api/releases/links.md45
1 files changed, 37 insertions, 8 deletions
diff --git a/doc/api/releases/links.md b/doc/api/releases/links.md
index 74f6b1c9efa..a1abded5ed4 100644
--- a/doc/api/releases/links.md
+++ b/doc/api/releases/links.md
@@ -1,6 +1,6 @@
---
-stage: Release
-group: Release
+stage: Deploy
+group: Environments
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
---
@@ -15,6 +15,13 @@ GitLab supports links to `http`, `https`, and `ftp` assets.
## List links of a release
+<!--- start_remove The following content will be removed on remove_date: '2023-08-22' -->
+
+> The `external` field in Release Links was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/388975) in GitLab 15.9
+and [removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/112490) in 16.0.
+
+<!--- end_remove -->
+
Get assets as links from a release.
```plaintext
@@ -40,14 +47,12 @@ Example response:
"id":2,
"name":"awesome-v0.2.msi",
"url":"http://192.168.10.15:3000/msi",
- "external":true, // deprecated in GitLab 15.9, will be removed in GitLab 16.0.
"link_type":"other"
},
{
"id":1,
"name":"awesome-v0.2.dmg",
"url":"http://192.168.10.15:3000",
- "external":true, // deprecated in GitLab 15.9, will be removed in GitLab 16.0.
"link_type":"other"
}
]
@@ -55,6 +60,13 @@ Example response:
## Get a release link
+<!--- start_remove The following content will be removed on remove_date: '2023-08-22' -->
+
+> The `external` field in Release Links was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/388975) in GitLab 15.9
+and [removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/112490) in 16.0.
+
+<!--- end_remove -->
+
Get an asset as a link from a release.
```plaintext
@@ -80,13 +92,19 @@ Example response:
"id":1,
"name":"awesome-v0.2.dmg",
"url":"http://192.168.10.15:3000",
- "external":true, // deprecated in GitLab 15.9, will be removed in GitLab 16.0.
"link_type":"other"
}
```
## Create a release link
+<!--- start_remove The following content will be removed on remove_date: '2023-08-22' -->
+
+> The `external` field in Release Links was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/388975) in GitLab 15.9
+and [removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/112490) in 16.0.
+
+<!--- end_remove -->
+
Creates an asset as a link from a release.
```plaintext
@@ -122,13 +140,19 @@ Example response:
"name":"hellodarwin-amd64",
"url":"https://gitlab.example.com/mynamespace/hello/-/jobs/688/artifacts/raw/bin/hello-darwin-amd64",
"direct_asset_url":"https://gitlab.example.com/mynamespace/hello/-/releases/v1.7.0/downloads/bin/hellodarwin-amd64",
- "external":false, // deprecated in GitLab 15.9, will be removed in GitLab 16.0.
"link_type":"other"
}
```
## Update a release link
+<!--- start_remove The following content will be removed on remove_date: '2023-08-22' -->
+
+> The `external` field in Release Links was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/388975) in GitLab 15.9
+and [removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/112490) in 16.0.
+
+<!--- end_remove -->
+
Updates an asset as a link from a release.
```plaintext
@@ -164,13 +188,19 @@ Example response:
"id":1,
"name":"new name",
"url":"http://192.168.10.15:3000",
- "external":true, // deprecated in GitLab 15.9, will be removed in GitLab 16.0.
"link_type":"runbook"
}
```
## Delete a release link
+<!--- start_remove The following content will be removed on remove_date: '2023-08-22' -->
+
+> The `external` field in Release Links was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/388975) in GitLab 15.9
+and [removed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/112490) in 16.0.
+
+<!--- end_remove -->
+
Deletes an asset as a link from a release.
```plaintext
@@ -196,7 +226,6 @@ Example response:
"id":1,
"name":"new name",
"url":"http://192.168.10.15:3000",
- "external":true, // deprecated in GitLab 15.9, will be removed in GitLab 16.0.
"link_type":"other"
}
```