GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation interacts with the GitLab API to retrieve pipeline references for a specific Geo repository. It is useful for scenarios where users need to fetch pipeline information related to a repository in a GitLab Geo setup, such as monitoring or automation workflows involving repository pipelines.

Use Case Examples

  1. Fetch pipeline references for a given repository to monitor CI/CD status.
  2. Automate retrieval of pipeline refs for reporting or integration with other tools.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, hidden unless Skip Authentication is false.
baseUrl The base URL of the GitLab instance to send the request to.
Method HTTP method to use for the API request.
Path Parameters Parameters to be included in the request path, specifically the 'gl_repository' which identifies the repository to check.

Output

JSON

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

Dependencies

  • GitLab API authentication token or credentials

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 credentials are valid and have sufficient permissions to access the Geo repository pipeline references.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion