GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to update a resource group within a specific project using the PUT HTTP method. It is useful for automating project resource group management in GitLab, such as modifying resource group details by specifying the project ID and resource group key.

Use Case Examples

  1. Updating a resource group in a GitLab project by providing the project ID and resource group key along with the updated resource group data in the request body.
  2. Automating resource group modifications in CI/CD pipelines to manage resource allocation efficiently.

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 for the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET but for this operation it is PUT.
Parameter Schema Defines the parameters required for the operation, including project ID and resource group key.
Request Body Schema Schema for the request body containing the resource group data to update.
Request Path API endpoint path for the PUT request to update the resource group.
Path Parameters Collection of path parameters including 'id' (project ID) and 'key' (resource group key) to identify the resource group to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the resource group.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and resource group key are correct and exist in GitLab to avoid 404 errors.
  • Verify that the API key has sufficient permissions to update resource groups in the project.
  • Check the request body schema matches the expected format to prevent validation errors from the API.

Links

Discussion