GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves a specific project upload file from GitLab using the GitLab API v4. It requires the project ID, a 32-character secret associated with the upload, and the filename of the upload. This operation is useful for accessing files uploaded to a GitLab project, such as artifacts or attachments, by specifying their unique identifiers.

Use Case Examples

  1. Fetching a project upload file by providing the project ID, secret, and filename to download or process the file within an automation workflow.
  2. Automating the retrieval of project upload files for backup or analysis purposes.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to 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 upload file.

Output

JSON

  • id - The project ID associated with the upload.
  • secret - The secret key used to authenticate the upload access.
  • filename - The name of the uploaded file.
  • url - The URL to access the uploaded file.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID, secret, and filename are correctly provided; incorrect values will result in a 404 Not Found error.
  • Authentication errors may occur if the API key is missing or invalid; verify the API key credentials.
  • Network or base URL misconfiguration can cause connection failures; confirm the baseUrl is correct and accessible.

Links

Discussion