GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves the list of file uploads for a specific project in GitLab using the GitLab API v4. It is useful for scenarios where you need to manage or review uploaded files associated with a project, such as fetching metadata about project uploads for auditing or integration purposes.

Use Case Examples

  1. Fetch all uploads for a project to display in a dashboard.
  2. Retrieve upload details to automate backup or cleanup processes.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, 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.
Query Parameters Optional query parameters for pagination: page number and items per page.
Path Parameters Path parameter specifying the project ID to fetch uploads for.

Output

JSON

  • id - Unique identifier of the upload.
  • url - 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 is valid and accessible with the provided credentials.
  • Check that the base URL is correct for your GitLab instance.
  • Verify that the authentication token has sufficient permissions to access project uploads.
  • Common error: 401 Unauthorized - indicates invalid or missing authentication.
  • Common error: 404 Not Found - indicates the project ID does not exist or is not accessible.

Links

Discussion