GitLab API

GitlabTool

Actions1000

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 access requests to their GitLab groups. For example, it can be used to list pending access requests to a group to decide whether to approve or deny them.

Use Case Examples

  1. Retrieve access requests for a group with ID '123' to review pending membership requests.
  2. Paginate through access requests by specifying page number and items per page to handle large groups.

Properties

Name Meaning
Skip Authentication Option to skip API authentication, useful for testing or public endpoints.
Authentication Specifies the authentication method, here it is GitLab API authentication.
baseUrl 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 such as page number and items per page.
Path Parameters Path parameters required for the API call, specifically the group ID.

Output

JSON

  • access_requests - List of access requests for the specified GitLab group.
  • pagination
    • page - Current page number of the results.
    • per_page - Number of items per page in the results.
    • total - Total number of access requests available.

Dependencies

  • GitLab API credentials for authentication

Troubleshooting

  • Ensure the group ID provided in the path parameters is correct and accessible by the authenticated user.
  • Verify that the GitLab API credentials are valid and have sufficient permissions to access group access requests.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • If pagination parameters are used, ensure they are valid integers to avoid API errors.

Links

Discussion