GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves access requests for a specific project in GitLab using the GitLab API. It is useful for scenarios where you need to manage or review user access requests to a project, such as in project administration or access control workflows. For example, a project manager can use this node to list all pending access requests to decide whom to grant access.

Use Case Examples

  1. Retrieve all access requests for a project with a given project ID.
  2. Paginate through access requests by specifying page number and items per page.

Properties

Name Meaning
Skip Authentication Whether to skip authentication for the request (boolean). Defaults to false.
baseUrl The base URL of the GitLab instance. Defaults to https://gitlab.com.
Method HTTP method to use for the request. Defaults to GET.
Query Parameters Optional query parameters for pagination.
Path Parameters Path parameters required for the request.

Output

JSON

  • access_requests - List of access requests for the specified project.
  • 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 authentication token

Troubleshooting

  • Ensure the project ID is correctly specified in the path parameters; otherwise, the API will return an error.
  • Verify that the authentication token has sufficient permissions to access project access requests.
  • If pagination parameters are used, ensure they are valid integers to avoid request errors.

Links

Discussion