GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve PyPI package information for a specific group using the API endpoint `/api/v4/groups/{id}/-/packages/pypi/simple`. It is useful for automating the retrieval of package data from GitLab groups, which can be beneficial in CI/CD pipelines, package management automation, or integration workflows involving GitLab-hosted PyPI packages.

Use Case Examples

  1. Retrieve PyPI packages for a GitLab group by specifying the group ID.
  2. Automate package data retrieval for auditing or reporting purposes in GitLab projects.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method The HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters to be included in the request path, specifically the group ID to identify the target group.

Output

JSON

  • response - The JSON response containing the PyPI package information for the specified GitLab group.

Dependencies

  • Requires GitLab API key credentials for authentication unless skipping authentication.

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and accessible with the provided credentials.
  • If authentication is enabled, verify that the GitLab API key is valid and has sufficient permissions to access group package data.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion