GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the followers of a specific user from the GitLab API (version 4). It is useful for scenarios where you want to get a list of users who follow a particular user on GitLab, such as for social or project collaboration insights.

Use Case Examples

  1. Get followers of a user with ID 123 to analyze their network.
  2. Fetch followers with pagination to display in a custom dashboard.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request (boolean). Defaults to false.
Authentication The authentication method used for the request, hidden unless Skip Authentication is false. Defaults to GitLab API key authentication.
baseUrl The base URL of the GitLab instance. Defaults to https://gitlab.com.
Method HTTP method to use for the request. Defaults to GET.
Query Parameters Optional query parameters for pagination: page (current page number) and per_page (number of items per page).
Path Parameters Path parameter specifying the user ID whose followers are to be retrieved.

Output

JSON

  • followers - Array of follower user objects returned by the GitLab API.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the user ID provided in the path parameters is valid and exists in GitLab to avoid 404 errors.
  • If authentication is enabled, verify that the GitLab API key credential is correctly configured and has sufficient permissions.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • Pagination parameters (page and per_page) should be integers; invalid values may cause request failures.

Links

Discussion