GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves the status of a specific user from the GitLab API using the user's ID or username. It is useful for scenarios where you need to check the current status of a user in GitLab, such as whether they are active, blocked, or have any custom status set. For example, it can be used in automation workflows to monitor user statuses or trigger actions based on user availability.

Use Case Examples

  1. Check the status of a GitLab user by their username to determine if they are active before assigning tasks.
  2. Retrieve user status to update internal records or notify team members about user availability.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated endpoints.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance to which the request is sent, defaulting to https://gitlab.com.
Method HTTP method used for the request, default is GET.
Path Parameters Parameters included in the request path, specifically the user_id which identifies 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 token or credentials

Troubleshooting

  • Ensure the user_id path parameter is correctly provided and valid; otherwise, the API will return an error indicating the user was not found.
  • If authentication is required and skipped, the request may fail with an unauthorized error; verify authentication settings.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion