GitLab API icon

GitLab API

Gitlab

Actions1062

Alert_management → postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesAuthorize

AI-generated

Summary

Authorize metric images for a specific alert in a GitLab project by sending a POST request to the project's alert management endpoint.

Inputs

  • id (required) — The ID or URL-encoded path of the GitLab project containing the alert.
  • alert_iid (required) — The internal ID (IID) of the alert within the project.
  • skipAuthentication — Optional boolean to skip authentication if set to true; otherwise, uses GitLab API credentials.

Output shape

a JSON response from GitLab representing the result of the metric images authorization request for the specified alert

The response shape depends on the GitLab API's metric images authorize endpoint. Authentication is required unless skipped. The operation sends a POST request to the path /api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images/authorize.

Links

Discussion