|
bluemelon.featured.items.add
adds a photo into the list of featured photos
Authentication:
Yes (see here for details)
Arguments:
(required) long : itemid - the id of the item to be added (required) long : albumid - the id of an album that the item is in (required) string : publickey - the public key of an application (required) string : token - the access token
Request Example:
http://www.bluemelon.com/api/rest/{api_sing}/ ?method=bluemelon.featured.items.add&itemid=1&albumid=1&publickey={publickey}&token={token}
Response Example:
<rsp status="ok" onrequest="bluemelon.featured.items.add" />
Error Codes:
4 - "Missing parameter" 5 - "Invalid parameter" 11 - "Item not found" 12 - "Application not found" 14 - "Invalid accessToken" 16 - "Access token timed out.You must relogin." 17 - "Invalid call signature size" 18 - "Invalid call signature" 20 - "Missing api_sign" 402 - "Collection does not support specified entity" 403 - "Only owner may perform this operation" 404 - "Access to this item is either private or password protected" 600 - "No write permissions" 602 - "No read permissions" 603 - "Account recently expired or deleted"
|