GitLab API

GitlabTool

Actions1000

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 in a project hosted on GitLab.

Use Case Examples

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

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the request path to identify the project, release tag, and link ID.

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', 'image', 'package').
  • created_at - Timestamp when the link was created.
  • updated_at - Timestamp when the link was last updated.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID, tag name, and link ID are correctly specified to avoid 404 errors.
  • Verify that the authentication token has sufficient permissions to update release asset links.
  • Check the request body schema for required fields to prevent validation errors.

Links

Discussion