GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve information about services configured for a specific project. It is useful for automating workflows that require fetching project service details from GitLab, such as monitoring integrations or managing project configurations programmatically.

Use Case Examples

  1. Fetch all services for a GitLab project by providing the project ID to automate monitoring of project integrations.
  2. Use the node to get service details for a project to integrate with other tools or dashboards.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication for the API request.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to connect to, defaulting to https://gitlab.com.
Method The HTTP method to use for the API request, defaulting to GET.
Path Parameters Parameters to be included in the request path, specifically the project ID for this operation.

Output

JSON

  • id - The unique identifier of the service.
  • title - The title or name of the service.
  • active - Indicates if the service is active for the project.
  • project_id - The ID of the project the service belongs to.
  • created_at - Timestamp when the service was created.
  • updated_at - Timestamp when the service was last updated.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is valid and exists in the GitLab instance.
  • Verify that the API key credential has sufficient permissions to access project services.
  • Check the base URL to confirm it points to the correct GitLab instance, especially if using a self-hosted GitLab.
  • Common error messages include authentication failures (401 Unauthorized) and resource not found (404 Not Found) which can be resolved by verifying credentials and project ID respectively.

Links

Discussion