GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves a specific upload from a GitLab group by its upload ID. It is useful for scenarios where you need to access or manage files uploaded to a particular group in GitLab, such as fetching metadata or content of the uploaded file.

Use Case Examples

  1. Fetching details of a file uploaded to a GitLab group for audit or processing purposes.
  2. Integrating GitLab group uploads into a workflow that requires file validation or further automation.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request.
Authentication Type of authentication used for the request, defaulting to 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 to specify the group ID and upload ID for the request.

Output

JSON

  • id - The unique identifier of the upload.
  • url - The URL to access the uploaded file.
  • alt - Alternative text or description of the upload.
  • created_at - Timestamp when the upload was created.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the provided group ID and upload ID are correct and exist in the GitLab instance.
  • Verify that the authentication credentials are valid and have sufficient permissions to access group uploads.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the upload or group does not exist, and 401 Unauthorized if authentication fails.

Discussion