GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves a specific upload from a GitLab project using the GitLab API. It is useful for scenarios where you need to access details about a particular file upload within a project, such as verifying upload status or fetching metadata for further processing.

Use Case Examples

  1. Fetching details of a file uploaded to a GitLab project by specifying the project ID and upload ID.
  2. Automating retrieval of project upload information for integration with other systems or workflows.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters required in the request path to identify the project and upload.

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 project ID and upload ID are correct and exist in the GitLab instance to avoid 404 errors.
  • If authentication is enabled, verify that the API key credential is valid and has sufficient permissions to access project uploads.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correctly set.

Links

Discussion