Update a metric image for an incident
PUT
/api/v4/projects/{id}/issues/{issue_iid}/metric_images/{metric_image_id}
Updates a metric image for an incident.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body
Section titled “ Request Body ” Media type application/json
object
url
The url to view more metric info
string
url_text
A description of the image or URL
string
Example generated
{ "url": "example", "url_text": "example"}Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
created_at
string format: date-time
filename
string
file_path
string
url
string
url_text
string
Example
{ "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"}Bad Request
Not Found