GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation fetches the forks of a specific project from the GitLab API (version 4). It is useful for scenarios where you want to retrieve information about all the forks of a given project, such as for project management, analysis, or synchronization purposes. For example, a user can get a list of all forks of a project to monitor contributions or to aggregate data from multiple forks.

Use Case Examples

  1. Retrieve all forks of a project with a specific project ID to analyze fork activity.
  2. Get forks of a project filtered by visibility or sorted by creation date.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance to send the request to.
Method HTTP method to use for the request, default is GET.
Query Parameters Collection of optional query parameters to filter and customize the request for project forks, such as order, visibility, search criteria, pagination, and feature flags.
Path Parameters Path parameter specifying the project ID or URL-encoded path to identify the project whose forks are being retrieved.

Output

JSON

  • id - The unique identifier of the forked project.
  • name - The name of the forked project.
  • path - The path of the forked project.
  • created_at - Timestamp when the fork was created.
  • visibility - Visibility level of the forked project (e.g., private, internal, public).
  • archived - Indicates if the forked project is archived.
  • last_activity_at - Timestamp of the last activity on the forked project.
  • owner - Information about the owner of the forked project.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID provided in the path parameter is correct and URL-encoded if necessary.
  • Verify that the GitLab API key credential is valid and has sufficient permissions to access project forks.
  • Check the base URL to ensure it points to the correct GitLab instance.
  • If filtering by query parameters, ensure the values conform to the expected types and enumerations to avoid API errors.

Links

Discussion