GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves a specific PyPi package file from a GitLab group using the file's SHA256 checksum and file identifier. It is useful for automating the download or verification of PyPi package files stored in GitLab group repositories, especially when precise file identification is required.

Use Case Examples

  1. Automate fetching a PyPi package file by its SHA256 checksum for deployment or analysis.
  2. Verify the integrity of a PyPi package file by retrieving it using its SHA256 checksum and file identifier.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, typically an API key credential.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method used for the request, default is GET.
Query Parameters Query parameters for the request, specifically the file identifier of the PyPi package file.
Path Parameters Path parameters for the request, including the group ID and the SHA256 checksum of the PyPi package file.

Output

JSON

  • id - The ID or full path of the GitLab group.
  • file_identifier - The PyPi package file identifier.
  • sha256 - The SHA256 checksum of the PyPi package file.

Dependencies

  • An API key credential for GitLab API authentication.

Troubleshooting

  • Ensure the group ID and SHA256 checksum are correctly specified to avoid 404 errors.
  • Verify that the file identifier matches the exact PyPi package file name to prevent request failures.
  • Check authentication credentials if receiving authorization errors.

Links

Discussion