GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves pipeline schedules for a specific project from the GitLab API (v4). It is useful for users who want to manage or monitor pipeline schedules associated with their GitLab projects, such as automating CI/CD workflows or auditing scheduled pipelines.

Use Case Examples

  1. Fetch all pipeline schedules for a project with ID 18.
  2. Filter pipeline schedules by scope (active or inactive) for a given project.

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 for the API request, default is GET.
Query Parameters Optional query parameters to control pagination and filtering of pipeline schedules.
Path Parameters Path parameter specifying the project ID or URL-encoded path to identify the project.

Output

JSON

  • pipeline_schedules - List of pipeline schedules for the specified project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID is correct and accessible with the provided authentication.
  • Verify that the GitLab API base URL is correct if using a self-hosted GitLab instance.
  • Check that the authentication token has sufficient permissions to read pipeline schedules.
  • Common errors include 401 Unauthorized (invalid or missing token), 404 Not Found (invalid project ID), and 400 Bad Request (invalid query parameters).

Links

Discussion