/api/import/media/image

Posts image to BellaDati Media Gallery.

Resource Information

Request Parameters

Parameters

Detail

Example

name

(Optional) New image name.

My image

file

Image file.

 

Sample Request / Response

Using curl:

curl POST -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" -H "Content-Type: multipart/form-data" -F "name=My image" -F "file=@myImage.png" https://service.belladati.com/api/import/media/image

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

 

  • No labels