GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves resource groups associated with a specific project in GitLab using the GitLab API v4. It is useful for users who want to programmatically access and manage resource groups within their GitLab projects, such as for automation or integration purposes. For example, a DevOps engineer might use this node to fetch resource groups for monitoring or reporting.

Use Case Examples

  1. Fetch resource groups for a project with ID '12345' to display or process them in a workflow.
  2. Automate the retrieval of resource groups to integrate with other project management tools.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters for pagination.
Path Parameters Path parameters required for the API call.

Output

JSON

  • resourceGroups - Array of resource groups retrieved from the specified project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID provided in the path parameters is correct and accessible by the authenticated user.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access project resource groups.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Pagination parameters (page and per_page) should be set correctly to avoid empty or incomplete results.

Links

Discussion