GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the uploads associated with a specific project in GitLab using the GitLab API v4. It is useful for scenarios where users need to list or manage file uploads within a project, such as fetching all uploaded files for review or processing.

Use Case Examples

  1. Fetching all uploads for a project to display in a dashboard.
  2. Automating the retrieval of project uploads for backup or audit purposes.

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 such as page number and items per page.
Path Parameters Path parameter specifying the project ID to retrieve uploads for.

Output

JSON

  • uploads - List of upload objects associated with the specified project.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the authentication token has sufficient permissions to access project uploads.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • If pagination parameters are used, ensure they are valid integers to avoid request errors.

Links

Discussion