GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve the current user's status via the API v4 endpoint `/api/v4/user/status`. It is useful for workflows that need to check or monitor the authenticated user's status information in GitLab, such as presence, availability, or custom status messages.

Use Case Examples

  1. A workflow that triggers actions based on the user's GitLab status, e.g., sending notifications if the user is marked as 'away'.
  2. A monitoring system that logs user status changes for auditing or reporting purposes.

Properties

Name Meaning
Skip Authentication If set to true, the node will skip using authentication for the request.
Authentication The authentication method used for the request, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to send requests to, default is https://gitlab.com.
Method The HTTP method used for the request, default is GET.
Parameter Schema Hidden property for the parameter schema of the operation, not user-editable.
Request Body Schema Hidden property for the request body schema of the operation, not user-editable.
Request Path The API endpoint path for the operation, fixed to `/api/v4/user/status`.

Output

JSON

  • status - The user's status information retrieved from the GitLab API, including presence and custom status details.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • If authentication fails, ensure the GitLab API key credential is correctly configured and has sufficient permissions.
  • If the base URL is incorrect or the GitLab instance is unreachable, the request will fail; verify the URL and network connectivity.
  • HTTP method should be GET for this operation; using other methods may cause errors.

Links

Discussion