/api/reports/views/:id/image

Edits image in the view with the specified ID.

Resource Information

Request Parameters

Parameters

Detail

Example

id

ID of the view for which to edit an image. It has to be image view. You can find the ID in the response to /api/reports/:id.

12345
fileImage file. 

Sample Request / Response

Using curl (you have to use "@" character before full path to image file):

curl POST -H "Content-Type: multipart/form-data" -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -F "file=@/path/to/file.png" "https://service.belladati.com/api/reports/views/12345/image"

When the form has been submitted successfully, the server replies with an HTTP status code of 200 and an empty body.

 

  • No labels