GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves access requests for a specific GitLab group using the GitLab API. It is useful for administrators or users who need to manage or review pending access requests to their GitLab groups. For example, it can be used to list all users who have requested access to a group, enabling the group owner to approve or deny these requests.

Use Case Examples

  1. Listing all access requests for a GitLab group to review pending user access.
  2. Automating the retrieval of access requests to integrate with other user management workflows.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access scenarios.
Authentication Specifies the authentication method to use, defaulting to GitLab API authentication.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters to control pagination of results, including 'page' for the current page number and 'per_page' for the number of items per page.
Path Parameters Path parameters required for the request, specifically the 'id' which is the ID or URL-encoded path of the group owned by the authenticated user.

Output

JSON

  • ``
    • id - The unique identifier of each access request.
    • user - Details of the user who made the access request.
    • access_level - The access level requested by the user.
    • requested_at - Timestamp when the access request was made.

Dependencies

  • GitLab API authentication token

Troubleshooting

  • Ensure the 'id' path parameter is correctly set to the group's ID or URL-encoded path; otherwise, the request will fail.
  • Verify that the authentication token has sufficient permissions to access group access requests.
  • Check the baseUrl if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 401 Unauthorized (authentication issues) and 404 Not Found (incorrect group ID or insufficient permissions).

Links

Discussion