metric_images
Upload a metric image for an incident
Uploads a screenshot of metric charts for an incident. Available only for incidents.
post/api/v4/projects/{id}/issues/{issue_iid}/metric_images
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
issue_iidinteger required
Request body
Response
Upload a metric image for an incident
Example response
{
"id": 1,
"created_at": "2022-01-31T15:10:45.080Z",
"filename": "image.png",
"file_path": "/uploads/-/system/issuable_metric_image/file/1/image.png",
"url": "https://gitlab.example.com/example",
"url_text": "Example URL"
}Changes
No recorded changes to this operation across all 5 revisions of this API.