GitLab API icon

GitLab API

Gitlab

Actions917

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 package data from GitLab projects, such as fetching package metadata for CI/CD pipelines or package management workflows.

Use Case Examples

  1. Fetch PyPI package details for a project by providing the project ID or URL-encoded path.
  2. Automate package information retrieval in a DevOps pipeline to verify package versions.

Properties

Name Meaning
Skip Authentication Option to bypass authentication when making the API request.
Authentication Type of authentication used for the API request, hidden unless Skip Authentication is false.
baseUrl Base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request.
Parameter Schema Schema defining the path parameter 'id' which is the ID or URL-encoded path of the project.
Request Body Schema Schema for the request body, not used in this operation.
Request Path API endpoint path template for the operation.
Path Parameters Collection of path parameters including 'id' which specifies the project identifier.

Output

JSON

  • packageData - The JSON response containing PyPI package information for the specified project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID or URL-encoded path is correct to avoid 404 errors.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access the project packages.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure the API endpoint is reachable.

Links

Discussion