GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation updates the status of the authenticated user on GitLab via the API endpoint `/api/v4/user/status`. It is useful for scenarios where you want to programmatically set or change the user's status message or availability on GitLab, such as marking yourself as busy or away during certain workflows or automations.

Use Case Examples

  1. Automatically update your GitLab user status to 'In a meeting' during calendar events.
  2. Set a custom status message on GitLab when a specific project phase starts.

Properties

Name Meaning
Skip Authentication Option to skip using authentication for the request, useful for testing or public endpoints.
Authentication Selects the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET but for this operation it will be PUT.
Parameter Schema Defines the schema for the parameters sent in the request body for updating user status.
Request Body Schema Schema for the request body content, defining the structure of the user status update data.
Request Path The API endpoint path for updating the user status, fixed to /api/v4/user/status.

Output

JSON

  • status - The updated user status information returned from GitLab API after the PUT request.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is valid and has permission to update user status.
  • Check that the baseUrl is correctly set to your GitLab instance URL if not using the default https://gitlab.com.
  • Verify the request body matches the expected schema for user status update to avoid validation errors.

Links

Discussion