GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node interacts with the GitLab API to perform a ping operation on the Conan packages endpoint for a specific project. It is useful for checking the availability or status of the Conan package registry for a given GitLab project by its ID or URL-encoded path. For example, it can be used to verify connectivity or readiness of the Conan package service within a CI/CD pipeline or automation workflow.

Use Case Examples

  1. Check the Conan package registry status for a project with ID '12345' to ensure it is reachable before deploying packages.
  2. Automate monitoring of the Conan package service availability for multiple GitLab projects by pinging their respective endpoints.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters to be included in the request path, specifically the project ID or URL-encoded path.

Output

JSON

  • status - The HTTP response status code from the ping request.
  • data - The response data returned from the GitLab API ping endpoint, indicating the status of the Conan package registry.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID or URL-encoded path is correctly provided in the path parameters to avoid 404 errors.
  • If authentication is required and skipped, the request may fail with authorization errors; verify credentials are correctly configured.
  • Check the base URL is correct and accessible, especially if using a self-hosted GitLab instance.

Links

Discussion