GitLab API icon

GitLab API

Gitlab

Actions880

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 GitLab user by specifying their user ID.
  2. Paginate through followers by setting page and per_page query parameters.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request.
Authentication The authentication method used for the request, hidden if Skip Authentication is true.
baseUrl The base URL of the GitLab instance to send the request to.
Method The HTTP method to use for the request (GET, POST, PUT, DELETE, HEAD, PATCH).
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 - List of followers of the specified user
  • pagination
    • page - Current page number of the results
    • per_page - Number of items per page in the results
    • total - Total number of followers available

Dependencies

  • GitLab API authentication (API key or token)

Troubleshooting

  • Ensure the user ID provided in the path parameters is valid and exists in GitLab.
  • Check that the authentication credentials are correctly configured unless Skip Authentication is enabled.
  • Verify the baseUrl is correct and accessible.
  • Pagination parameters should be integers; invalid values may cause errors.

Links

Discussion