GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API, specifically supporting the operation to verify runners via a POST request to the /api/v4/runners/verify endpoint. It is useful for automating the verification of GitLab runners within workflows, ensuring that runners are properly authenticated and configured.

Use Case Examples

  1. Automate runner verification in CI/CD pipelines.
  2. Integrate runner status checks into project management workflows.

Properties

Name Meaning
Skip Authentication Determines whether to skip authentication 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 requests are sent.
Method The HTTP method used for the API request, defaulting to GET but supporting POST, PUT, DELETE, HEAD, and PATCH.
Parameter Schema Defines the schema for the parameters sent in the request body for the postApiV4RunnersVerify operation.
Request Body Schema Defines the schema for the request body for the postApiV4RunnersVerify operation.
Request Path The API endpoint path for the postApiV4RunnersVerify operation, fixed to /api/v4/runners/verify.

Output

JSON

  • response - The JSON response from the GitLab API after verifying the runner.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the GitLab API key credential is correctly configured and has the necessary permissions to verify runners.
  • Verify that the baseUrl is correctly set to the GitLab instance URL if using a self-hosted GitLab.
  • Check that the request body matches the expected schema for the /api/v4/runners/verify endpoint to avoid validation errors.

Links

Discussion