GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation updates a freeze period for a specific project in GitLab using the GitLab API. It is useful for managing project freeze periods programmatically, such as modifying the start and end dates of a freeze period to control when changes to the project are restricted. For example, a DevOps engineer might use this node to automate the adjustment of freeze periods during release cycles.

Use Case Examples

  1. Updating the freeze period dates for a project to prevent changes during a critical release window.
  2. Modifying freeze period details to reflect new project timelines.

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.
Parameter Schema Defines the path and body parameters required for the PUT operation to update a freeze period.
Request Body Schema Schema for the request body to update the freeze period.
Request Path API endpoint path for updating a freeze period.
Path Parameters Collection of path parameters including project ID and freeze period ID required to identify the freeze period to update.

Output

JSON

  • response - The JSON response from the GitLab API after updating the freeze period, containing details of the updated freeze period.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

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

Links

Discussion