GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node interacts with the GitLab API to retrieve the managers of a specific runner by its ID. It is useful in scenarios where you need to manage or audit runner permissions and see which users have managerial access to a particular runner in a GitLab instance. For example, a DevOps engineer might use this node to automate the process of fetching runner managers for compliance or reporting purposes.

Use Case Examples

  1. Retrieve the list of managers for a runner with ID 123 to verify access control.
  2. Automate auditing of runner permissions across multiple projects by fetching runner managers programmatically.

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 request is sent.
Method The HTTP method used for the API request, defaulting to GET.
Path Parameters The path parameters for the API request, specifically the runner ID to identify which runner's managers to retrieve.

Output

JSON

  • managers - List of managers for the specified runner ID.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the runner ID provided in the path parameters is valid and exists in the GitLab instance.
  • If authentication is enabled, verify that the GitLab API key credential is correctly configured and has sufficient permissions to access runner manager information.
  • Check the baseUrl to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion