GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves details of a specific freeze period for a given project in GitLab using the GitLab API. It is useful for scenarios where you need to programmatically access freeze period information, such as automation workflows that monitor or manage project freeze periods in GitLab.

Use Case Examples

  1. Get details of a freeze period by specifying the project ID and freeze period ID to automate project management tasks.
  2. Integrate with GitLab to fetch freeze period data for reporting or compliance checks.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used for the request, 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.
Path Parameters Parameters to specify the project ID and freeze period ID for the API request.

Output

JSON

  • id - The unique identifier of the freeze period.
  • start_date - The start date of the freeze period.
  • end_date - The end date of the freeze period.
  • created_at - Timestamp when the freeze period was created.
  • updated_at - Timestamp when the freeze period was last updated.
  • project_id - The ID of the project associated with the freeze period.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and freeze period ID are correctly specified and exist in GitLab.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access freeze period data.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the project or freeze period does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion