GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the list of users that a specified user is following on GitLab. It is useful for scenarios where you want to analyze or display the social connections of a GitLab user, such as in social network analysis, user engagement tracking, or community management.

Use Case Examples

  1. Fetch the users followed by a specific GitLab user to display on a dashboard.
  2. Analyze the following relationships of users to understand social interactions within a GitLab instance.

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 to connect to.
Method HTTP method to use for the request.
Query Parameters Optional query parameters to control pagination of results.
Path Parameters Path parameters required for the API call, specifically the user ID whose following list is to be retrieved.

Output

JSON

  • id - The ID of the user being followed
  • username - The username of the user being followed
  • name - The full name of the user being followed
  • state - The state of the user (e.g., active) being followed
  • avatar_url - URL to the avatar image of the user being followed
  • web_url - URL to the user's profile page on GitLab

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the user ID provided in the path parameters is valid and exists in the GitLab instance.
  • Check that the GitLab API key credential is correctly configured and has sufficient permissions to access user following information.
  • Verify the base URL is correct for the GitLab instance being queried.
  • If pagination parameters are used, ensure they are valid integers and within allowed ranges.

Links

Discussion