Bluemelon API‎ > ‎

File Download

retrieves an item (photo)

Authentication:

Yes (see here for details)

Arguments:

(required) long : itemid - the id of the item
(optional) string : subviewext - subview is the thumbnail-code
(required) string : publickey - the public key of an application
(required) string : token - the access token

Request Example:

http://www.bluemelon.com/api/download/{api_sign}/
?itemid=1&publickey={publickey}&token={token}

Response Example:


Error Codes:

4 - "Missing parameter" ( in this case publickey )
5 - "Invalid parameter" ( in this case publickey )
14 - "Inavlid accessToken"
16 - "Access token timed out"
18 - "Invalid api_sign"

Comments