GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves resource groups for a specific project in GitLab using the GitLab API v4. It is useful for users who want to programmatically access resource group information related to their GitLab projects, such as for automation, reporting, or integration with other systems. For example, a DevOps engineer might use this node to fetch resource groups to monitor resource allocation or usage within a project.

Use Case Examples

  1. Fetch resource groups of a project by providing the project ID to monitor resource usage.
  2. Automate the retrieval of resource groups for integration with a CI/CD pipeline dashboard.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API authentication.
baseUrl Base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Optional query parameters for pagination, including page number and items per page.
Path Parameters Path parameters specifying the project ID or URL-encoded path to identify the project.

Output

JSON

  • response - The JSON response containing the list of resource groups for the specified project.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible by the authenticated user to avoid authorization errors.
  • Verify that the base URL is correctly set to the GitLab instance you intend to query.
  • Check network connectivity and API rate limits if requests fail or time out.

Links

Discussion