Albums‎ > ‎

bluemelon.albums.getInfo

returns the details for the album 

Authentication:

Yes (see here for details)

Arguments:

(required) long : albumid - the id of the album
(required) string : publickey - the public key of an application
(required) string : token - the access token

Request Example:

http://www.bluemelon.com/api/rest/{api_sign}/
?method=bluemelon.albums.getinfo&albumid=1&publickey={publickey}&token={token}

Response Example:

<rsp status="ok">
<content>
<album id="1" title="An Album" url="An Album" absoluteurl="http://www.bluemelon.com/user/ablumurl" date="2009-04-09" accessmode="public">
<description>some description</description>
<tags>tag, tag</tags>
</album>
</content>
</rsp>

Error Codes:

4 - "Missing parameter"
5 - "Invalid parameter"
10 - "Folder 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"
603 - "Account recently expired or deleted"

Comments