GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves the NuGet package index for a specific project from the GitLab API (version 4). It is useful for users who want to access NuGet package metadata associated with a GitLab project, such as developers managing project dependencies or CI/CD pipelines that automate package handling.

Use Case Examples

  1. Fetching the NuGet package index for a project to list available packages.
  2. Automating the retrieval of package metadata for integration with other tools or services.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API 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 project ID or URL-encoded path.

Output

JSON

  • response - The JSON response containing the NuGet package index data for the specified project.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible with the provided authentication.
  • If authentication is skipped, the request may fail due to lack of permissions.
  • Verify the base URL is correct for the GitLab instance being accessed.
  • Check network connectivity and API endpoint availability if requests fail.

Links

Discussion