GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the participants of a specific merge request in a GitLab project using the GitLab API. It is useful for scenarios where you need to get information about users involved in a merge request, such as reviewers or commenters, to track collaboration or automate workflows based on participant data.

Use Case Examples

  1. Fetching participants of a merge request to notify team members.
  2. Automating reports on merge request activity by analyzing participant involvement.

Properties

Name Meaning
Skip Authentication Option to skip API authentication for the request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance, default is https://gitlab.com.
Method HTTP method to use for the API request, default is GET.
Path Parameters Parameters required in the API path to specify the project and merge request.

Output

JSON

  • participants - List of participants involved in the specified merge request.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and merge request IID are correctly specified and URL-encoded if necessary.
  • Verify that the API key has sufficient permissions to access merge request data.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error: 404 Not Found - occurs if the project or merge request does not exist or is inaccessible.
  • Common error: 401 Unauthorized - occurs if authentication is missing or invalid.

Links

Discussion