GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the uploads associated with a specific GitLab group by making a GET request to the GitLab API endpoint `/api/v4/groups/{id}/uploads`. It is useful for scenarios where users need to list or manage files uploaded to a particular group in GitLab, such as fetching images, documents, or other media related to the group.

Use Case Examples

  1. A project manager wants to list all files uploaded to a GitLab group to review shared resources.
  2. An automation workflow fetches group uploads to sync them with an external storage system.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
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 to control pagination of results.
Path Parameters Path parameters required for the request, specifically the group ID.

Output

JSON

  • id - The unique identifier of the upload
  • name - The name of the uploaded file
  • url - The URL to access the uploaded file
  • created_at - Timestamp when the upload was created
  • size - Size of the uploaded file in bytes

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID path parameter is correctly set and corresponds to an existing GitLab group to avoid 404 errors.
  • Verify that the API key credential has sufficient permissions to access group uploads to prevent authorization errors.
  • Check the base URL if using a self-hosted GitLab instance to ensure the request targets the correct server.

Links

Discussion