GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves a specific group upload file from GitLab using the group's ID, a secret key, and the filename. It is useful for accessing files uploaded to a GitLab group securely by specifying the unique secret and filename associated with the upload. For example, it can be used to download or verify files uploaded to a group's repository or storage in GitLab.

Use Case Examples

  1. Download a file uploaded to a GitLab group by providing the group ID, the secret key of the upload, and the filename.
  2. Verify the existence and details of a specific upload in a GitLab group using the secret and filename.

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 The base URL of the GitLab instance, default is 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 upload: group ID, secret key, and filename.

Output

JSON

  • id - The group ID used in the request path
  • secret - The secret key of the group upload used in the request path
  • filename - The filename of the group upload used in the request path
  • response - The response data from the GitLab API for the requested upload file

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the group ID, secret, and filename are correctly provided and valid to avoid 404 Not Found errors.
  • If authentication is required, verify that the GitLab API key credential is correctly configured and has sufficient permissions.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion