GitLab API icon

GitLab API

Gitlab

Actions880

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.
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, defaulting to GET.
Path Parameters Parameters for the API path, including project ID and upload ID.

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 for authentication

Troubleshooting

  • Ensure the project ID and upload ID are correctly specified and exist in the GitLab instance.
  • Verify that the authentication credentials are valid and have sufficient permissions to access project 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 project does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion