GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates a specific asset link of a release in a GitLab project. It is useful for managing release assets by modifying existing links associated with a release tag. For example, you can update the URL or name of a release asset link to keep release information accurate and up-to-date.

Use Case Examples

  1. Updating the URL of a release asset link to point to a new location.
  2. Changing the name or description of a release asset link for clarity.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, typically an API key or token.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method used for the request, default is PUT for this operation.
Path Parameters Parameters required in the request path to identify the project, release tag, and link ID to update.

Output

JSON

  • id - The ID of the updated asset link.
  • name - The name of the updated asset link.
  • url - The URL of the updated asset link.
  • link_type - The type of the link (e.g., other, runbook).
  • created_at - Timestamp when the link was created.
  • updated_at - Timestamp when the link was last updated.

Dependencies

  • GitLab API authentication token or API key

Troubleshooting

  • Ensure the project ID, tag name, and link ID are correct and exist in the GitLab project.
  • Verify that the authentication token has sufficient permissions to update release assets.
  • Check the request body schema to ensure all required fields for the asset link update are provided.
  • Common error messages include 404 Not Found if the project, release, or link does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion