GitLab API

GitlabTool

Actions905

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 groups, especially in CI/CD pipelines or package management workflows.

Use Case Examples

  1. Fetch a PyPi package file by its SHA256 checksum and file identifier to verify package integrity.
  2. Automate retrieval of PyPi package files from a GitLab group for deployment or analysis.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the request.
Authentication Specifies the authentication method to use if authentication is not skipped.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method to use for the request.
Parameter Schema Defines the parameters required for the operation, including group ID, file identifier, and SHA256 checksum of the PyPi package file.
Request Path The API endpoint path template for the request.
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

  • response - The JSON response containing the PyPi package file data retrieved from the GitLab API.

Dependencies

  • Requires GitLab API authentication credentials unless skipping authentication.

Troubleshooting

  • Ensure the group ID, file identifier, and SHA256 checksum are correctly specified to avoid 404 Not Found errors.
  • Authentication errors may occur if the GitLab API credentials are missing or invalid; verify credentials and permissions.
  • Network or base URL misconfiguration can cause connection failures; confirm the baseUrl is correct and accessible.

Links

Discussion