GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the status of a specific user from the GitLab API (version 4). It is useful for scenarios where you need to check the current status of a user by their user ID or username, such as monitoring user activity or managing user states in an automated workflow.

Use Case Examples

  1. Checking if a user is active or blocked before performing actions on their account.
  2. Automating user status reports for administrative purposes.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication process for the API request.
Authentication Specifies the authentication method to use, hidden unless Skip Authentication is false.
baseUrl The base URL of the GitLab instance to which the API request is sent.
Method The HTTP method used for the API request.
Path Parameters Parameters included in the API request path, specifically the user_id to identify the user whose status is being retrieved.

Output

JSON

  • status - The status information of the specified user retrieved from the GitLab API.

Dependencies

  • GitLab API authentication credential

Troubleshooting

  • Ensure the user_id path parameter is correctly provided and valid; otherwise, the API request will fail.
  • If authentication is required and skipped, the request will be unauthorized; verify the authentication settings.
  • Check the baseUrl to ensure it points to a valid GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion