Update a release link
PUT
/api/v4/projects/{id}/releases/{tag_name}/assets/links/{link_id}
Updates a specified asset link for a release.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body
Section titled “ Request Body ” Media type application/json
object
name
The name of the link
string
url
The URL of the link
string
direct_asset_path
Optional path for a direct asset link
string
filepath
Deprecated: optional path for a direct asset link
string
link_type
The type of the link: other, runbook, image, or package. Defaults to other
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
name
string
url
string
direct_asset_url
string
link_type
string
Example
{ "id": 1, "name": "app-v1.0.dmg", "url": "https://gitlab.example.com/root/app/-/jobs/688/artifacts/raw/bin/app-v1.0.dmg", "direct_asset_url": "https://gitlab.example.com/root/app/-/releases/v1.0/downloads/app-v1.0.dmg", "link_type": "other"}Bad request
Unauthorized
Not Found