/api/media/image/:id

Returns image with specified ID from BellaDati Media Gallery.

Resource Information

Resource URL

https://service.belladati.com/api/media/image/:id

HTTP Method

GET

Request Parameters

 

Parameters

Detail

Example

id

ID of the image to fetch

123

Sample Request / Response

Using curl:

curl GET-H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\""  https://service.belladati.com/api/media/image/1234 -o file.png

When image with specified ID exists, the server returns the image in response.


  • No labels