GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve a list of Go module package versions for a specific project. It is useful for developers or DevOps engineers who need to programmatically access Go package information stored in GitLab projects, such as for dependency management or automation workflows.

Use Case Examples

  1. Retrieve all versions of a Go module package for a given GitLab project by specifying the project ID or full path and the module name.
  2. Automate the process of checking available Go module versions in a GitLab project to integrate with CI/CD pipelines.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, typically an API key credential for GitLab.
baseUrl The base URL of the GitLab instance to which the API requests are sent.
Method The HTTP method used for the API request, defaulting to GET.
Query Parameters Query parameters for the API request, specifically the Go module name to list versions for.
Path Parameters Path parameters for the API request, specifically the project identifier.

Output

JSON

  • response - The JSON response from the GitLab API containing the list of Go module package versions.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID or full path is correct and accessible with the provided authentication.
  • Verify that the Go module name is correctly specified and exists in the project.
  • Check network connectivity and GitLab API availability if requests fail.
  • Authentication errors may occur if the API key is invalid or lacks necessary permissions.

Links

Discussion