GitLab API

GitlabTool

Actions905

Overview

This node operation fetches pipeline references for a specific GitLab repository from the Geo API endpoint. It is useful for users who want to retrieve pipeline information related to a repository in a GitLab Geo setup, such as for monitoring or automation purposes.

Use Case Examples

  1. Retrieve pipeline references for a repository to monitor CI/CD pipeline statuses.
  2. Fetch pipeline refs to integrate with other automation workflows or reporting tools.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is 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 repository identifier (gl_repository).

Output

JSON

  • responseData - The JSON response containing pipeline references for the specified repository.

Dependencies

  • Requires GitLab API key credential for authentication unless skipping authentication.

Troubleshooting

  • Ensure the 'gl_repository' path parameter is correctly set to a valid repository identifier; otherwise, the API call will fail.
  • If authentication is enabled, verify that the GitLab API key credential is valid and has sufficient permissions to access the Geo API endpoints.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it points to the correct server.

Links

Discussion