GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting the retrieval of API v4 metadata. It is useful for workflows that need to fetch metadata information from GitLab, such as project details, user info, or other GitLab API metadata endpoints. For example, it can be used to automate data retrieval for DevOps pipelines or integrate GitLab metadata into other systems.

Use Case Examples

  1. Fetching GitLab API v4 metadata to monitor project status.
  2. Automating retrieval of user or repository metadata from GitLab for reporting.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication when making 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 which the API requests are sent.
Method The HTTP method used for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Parameter Schema Schema for parameters used in the API request, specific to the getApiV4Metadata operation.
Request Body Schema Schema for the request body, specific to the getApiV4Metadata operation.
Request Path The API endpoint path for the getApiV4Metadata operation, defaulting to /api/v4/metadata.

Output

JSON

  • response - The JSON response from the GitLab API containing the requested metadata.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has sufficient permissions to access the metadata endpoint.
  • Verify the baseUrl is correct and accessible from the network where the node is running.
  • Check that the HTTP method matches the intended API operation; typically, GET is used for metadata retrieval.
  • If skipping authentication, ensure the endpoint allows unauthenticated access, otherwise requests will fail.

Links

Discussion