GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves information about a specific Go module version package from a GitLab project using the GitLab API. It is useful for developers or DevOps engineers who need to access metadata about Go modules stored in GitLab package registries, such as module version details for dependency management or auditing purposes.

Use Case Examples

  1. Fetch details of a Go module version package for a project to verify module version metadata.
  2. Retrieve Go module package info to automate dependency updates or checks in CI/CD pipelines.

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 credential.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters.module_name The name of the Go module to retrieve information for.
Path Parameters.id The project ID or full path of the GitLab project containing the Go module package.
Path Parameters.module_version The version of the Go module to retrieve information about.

Output

JSON

  • response - The JSON response containing the Go module version package information retrieved from the GitLab API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID or full path is correct to avoid 404 Not Found errors.
  • Verify the Go module name and version are accurate and exist in the project package registry.
  • Check that the GitLab API key credential has sufficient permissions to access the project and package registry.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to the package registry endpoint.

Links

Discussion