GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation interacts with the GitLab API to retrieve the managers of a specific runner identified 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 to verify runner access control or automate runner management tasks.

Use Case Examples

  1. Retrieve the list of managers for a runner with ID 123 to audit permissions.
  2. Automate the process of checking runner managers before updating runner configurations.

Properties

Name Meaning
Skip Authentication Option to bypass authentication for the request, useful for public or unauthenticated endpoints.
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 HTTP method to use for the API request, default is GET.
Path Parameters Collection of path parameters required by the API endpoint, specifically the runner ID to identify which runner's managers to retrieve.

Output

JSON

  • managers - List of users who have managerial access to the specified runner.

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