GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves information about a specific upload within a GitLab project using the GitLab API v4. It is useful for scenarios where you need to access details about files or assets uploaded to a project, such as verifying upload status or metadata.

Use Case Examples

  1. Get details of a specific file uploaded to a GitLab project by providing the project ID and upload ID.
  2. Use in automation workflows to fetch upload information for project management or auditing purposes.

Properties

Name Meaning
Skip Authentication Option to bypass 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, default is GET.
Path Parameters Parameters required in the request path to identify the project and upload.

Output

JSON

  • id - The unique identifier of the upload.
  • filename - The name of the uploaded file.
  • 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 correct and exist in the GitLab instance.
  • Verify that the API key credential has 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