GitLab API icon

GitLab API

Gitlab

Actions1062

Suggestions → putApiV4SuggestionsBatchApply

AI-generated

Summary

Executes the GitLab API v4 batch_apply endpoint to apply suggestion rules to multiple projects.

Inputs

  • skipAuthentication — Set to true to bypass the configured GitlabApi credential authentication.
  • baseUrl — The GitLab instance base URL. Defaults to https://gitlab.com.
  • method — HTTP method (GET, POST, PUT, DELETE, HEAD, PATCH). Defaults to GET.
  • path — API endpoint path. Defaults to /api/v4/suggestions/batch_apply.

Output shape

A single data item containing the API response from the batch_apply endpoint.

The request body is constructed based on the 'Parameter Schema' configuration. The exact shape of the response depends on the GitLab API documentation for the batch_apply endpoint.

Examples

Example 1: Apply suggestions to a list of projects

Configure the Parameter Schema with the necessary suggestion rule details (e.g., project IDs and suggestion IDs) and use the default authentication method.

Links

Discussion