GitLab API

GitlabTool

Actions905

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 in scenarios where a user needs to programmatically obtain their GitLab support PIN for support or verification purposes.

Use Case Examples

  1. A user automates the retrieval of their GitLab support PIN to include it in support tickets.
  2. A system fetches the support PIN to verify user identity before performing sensitive operations.

Properties

Name Meaning
Skip Authentication Determines whether to skip the authentication process for the API request.
Authentication Specifies 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 The HTTP method used for the API request, defaulting to GET.
Parameter Schema Hidden property for internal use related to the API parameter schema.
Request Body Schema Hidden property for internal use related to the API request body schema.
Request Path The API endpoint path used to retrieve the user support PIN, fixed to `/api/v4/user/support_pin`.

Output

JSON

  • support_pin - The support PIN of the authenticated GitLab user retrieved from the API response.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has the necessary permissions to access the user support PIN endpoint.
  • If the node returns authentication errors, verify that the 'Skip Authentication' property is set correctly and that the base URL is accurate.
  • Check network connectivity to the specified GitLab instance URL to avoid request failures.

Links

Discussion