GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation fetches projects from the GitLab API v4. It allows users to retrieve a list of projects with various filtering and sorting options, such as ordering by creation date, filtering by visibility, archived status, ownership, and more. This is useful for scenarios where you want to automate project management tasks, generate reports on projects, or integrate GitLab project data into other workflows.

Use Case Examples

  1. Retrieve all public projects sorted by creation date descending.
  2. Fetch projects owned by the authenticated user that have issues enabled.
  3. Get projects filtered by a specific programming language and with merge requests enabled.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
baseUrl The base URL of the GitLab instance to connect to.
Method HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
Query Parameters Collection of query parameters to filter and customize the projects list returned by the API.

Output

JSON

  • projects - Array of project objects returned by the GitLab API, each containing project details such as ID, name, visibility, and other metadata.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the GitLab API credentials are correctly configured and have sufficient permissions to access project data.
  • Check the base URL to confirm it points to the correct GitLab instance.
  • Verify query parameters for correct data types and valid values to avoid API errors.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to project data.

Links

Discussion