Edit an album
- This method call must be authenticated and signed.
- This method requires "write" permission on docs.
URL
HTTP POSThttp://www.ipernity.com/api/album.edit
Parameters
api_key
|
∗ |
Your api_key.
|
album_id
|
∗ |
The Album ID you wish to edit
|
title
|
|
The new title for this album
|
description
|
|
The new description for this album. (Some HTML tags are accepted)
|
cover_id
|
|
The document ID to be used as the new cover. (Must belong to the calling user)
|
∗ : this parameter is required.
Response
<album album_id="10551" link="http://www.ipernity.com/doc/1/album/10551" title="A new title">
<description>and a new description</description>
<visibility ispublic="1" isfamily="1" isfriends="1" share="5"/>
<dates created_at="1218038768" comment_at="0"/>
<count docs="1" visits="0" faves="0" comments="0"/>
<cover cover_id="395557" w="75" h="75"
url="http://u1.ipernity.com/2/55/57/395557.e8265d4f.75x.jpg"/>
<permissions comment="3"/>
</album>
Error codes
| 1 |
Album not found |
| 2 |
Cover not found |
| 3 |
Title is empty |
| 4 |
No parameters were sent |
|
| 100 |
API Key is missing |
| 101 |
API Key is invalid |
| 102 |
Invalid format |
| 103 |
Method not found |
| 104 |
Signature missing |
| 105 |
Signature is invalid |
| 106 |
Token missing |
| 107 |
Token invalid |
| 108 |
Account closed |
| 109 |
Action blocked |
| 110 |
Insufficient permissions |
| 111 |
IP not allowed |
| 112 |
Application Quota Error |
| 113 |
Client IP Quota Error |
| 120 |
HTTP POST required |
| 121 |
Invalid SOAP envelope |
| 122 |
Invalid XML-RPC envelope |
| 500 |
Service error |
| 501 |
Maintenance mode |
| 503 |
Service unavailable |
Changelog
- 2008-12-01: Method created.
See also