GitLab API icon

GitLab API

Gitlab

Actions917

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 Whether to skip authentication for the request.
Authentication The authentication method used for the request, typically an API key credential.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method to use for the request.
Path Parameters Parameters to be included in the request path, specifically the repository identifier (gl_repository).

Output

JSON

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

Dependencies

  • GitLab API key credential for 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 skipped, the request may be unauthorized depending on the GitLab instance settings.
  • Verify the baseUrl is correct and accessible, especially if using a self-hosted GitLab instance.
  • Common error messages include 401 Unauthorized (check API credentials), 404 Not Found (repository does not exist or incorrect path parameter), and 500 Internal Server Error (server-side issues).

Links

Discussion