GitLab API

GitlabTool

Actions905

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 display or processing in automation workflows.

Use Case Examples

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

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the API request.
Authentication The authentication method used for the API request, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request, default is GET.
Query Parameters Optional query parameters to control pagination of the uploads list, including 'page' for the current page number and 'per_page' for the number of items per page.
Path Parameters Path parameters required for the API endpoint, specifically the 'id' of the project whose uploads are being retrieved.

Output

JSON

  • uploads - Array of upload objects returned by the GitLab API for the specified project.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID provided in path parameters is valid and accessible with the provided authentication.
  • Check that the baseUrl is correctly set to the GitLab instance URL if using a self-hosted GitLab.
  • If skipping authentication, the API may reject the request or return limited data depending on GitLab's public access settings.

Links

Discussion