Attach a Metric Image to an Alert
A 3-step recipe with GitLab. We can help you get access.
Recipe · 3 steps
Attach a Metric Image to an Alert
with GitLab · Software Construction Management
Works with AI assistants
Authorize, upload, and confirm a metric image on an alert.
- Ask Workhorse to authorize the metric image file upload.
- Upload the metric image to the alert.
- List the alert's metric images to confirm the attachment.
What you'll need to have ready
- privateToken: GitLab Private-Token used to authenticate the API calls.
- projectId: The ID or URL-encoded path of the project.
- alertIid: The IID of the alert.
- file: The metric image file to upload.
- url: Optional URL to view more metric info.
- urlText: Optional description of the image or URL.
For your developer
Arazzo workflow gitlab:attach-alert-metric-image, 3 operations: postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImagesAuthorize → postApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages → getApiV4ProjectsIdAlertManagementAlertsAlertIidMetricImages. Specs on APIs.io.