GitLab API

GitlabTool

Actions905

Overview

This node interacts with the GitLab API to retrieve simple PyPI package information for a specific project. It is useful for automating the retrieval of Python package data hosted in GitLab projects, which can be beneficial for CI/CD pipelines, package management, or integration with other tools.

Use Case Examples

  1. Fetch PyPI package details for a given GitLab project by specifying the project ID.
  2. Automate the retrieval of package metadata to integrate with deployment workflows.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use, typically a GitLab API key.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request.
Path Parameters Parameters included in the API request path, specifically the project ID for which PyPI package information is requested.

Output

JSON

  • id - The ID or URL-encoded path of the project for which PyPI package information is retrieved.
  • packages - The list or details of PyPI packages associated with the specified GitLab project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID is correctly specified and URL-encoded if necessary to avoid 404 errors.
  • Verify that the GitLab API key has sufficient permissions to access the project's package registry.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to the package information.

Links

Discussion