GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve the support PIN of the authenticated user via the endpoint `/api/v4/user/support_pin`. It is useful for scenarios where you need to programmatically access the user's support PIN for GitLab support or verification purposes.

Use Case Examples

  1. Automatically fetch the support PIN for the current user to include in support tickets or automated reports.
  2. Use in workflows that require user verification or support identification within GitLab environments.

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 which the request is sent, defaulting to https://gitlab.com.
Method The HTTP method used for the request, defaulting to GET.
Parameter Schema Hidden property for the parameter schema of the operation, not user-configurable.
Request Body Schema Hidden property for the request body schema of the operation, not user-configurable.
Request Path The API endpoint path for retrieving the user support PIN, fixed to `/api/v4/user/support_pin`.

Output

JSON

  • support_pin - The support PIN of the authenticated GitLab user returned by the API.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

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

Links

Discussion