GitLab API

GitlabTool

Actions1000

Overview

This node interacts with the GitLab API to retrieve information about a specific resource group within a project. It is useful for scenarios where you need to access details of resource groups associated with a GitLab project, such as for automation, reporting, or integration purposes.

Use Case Examples

  1. Fetching details of a resource group by specifying the project ID and resource group key to automate project resource management.
  2. Integrating GitLab resource group data into a CI/CD pipeline for enhanced monitoring and control.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request, useful for public or unauthenticated endpoints.
Authentication Type of authentication to use, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, defaulting to GET.
Path Parameters Parameters to specify the project ID and resource group key for the API request.

Output

JSON

  • id - The ID of the resource group
  • name - The name of the resource group
  • key - The key identifier of the resource group
  • project_id - The ID of the project to which the resource group belongs
  • created_at - Timestamp when the resource group was created
  • updated_at - Timestamp when the resource group was last updated
  • resources - List of resources associated with the resource group

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and resource group key are correctly specified to avoid 404 Not Found errors.
  • Check that the GitLab API key credential is valid and has sufficient permissions to access the project and resource group.
  • If skipping authentication, verify that the endpoint supports unauthenticated access, otherwise requests will fail with authentication errors.

Links

Discussion