Edit a note on a photo.
- This method call must be authenticated and signed.
- This method requires "write" permission on docs.
URL
HTTP POSThttp://www.ipernity.com/api/doc.notes.edit
Parameters
api_key
|
∗ |
Your api_key.
|
note_id
|
∗ |
The ID of the note you wish to edit.
|
content
|
∗ |
The new note text. (Some HTML tags are accepted)
|
x
|
∗ |
The left coordinate of the note.
|
y
|
∗ |
The top coordinate of the note.
|
w
|
∗ |
The width of the note.
|
h
|
∗ |
The height of the note.
|
preview
|
|
Set this flag to 1 to preview the note. The note will not be added.
|
∗ : this parameter is required.
Response
<note note_id="58856" user_id="58565" posted_at="1216898438" x="10" y="12" w="22" h="33">Your note</note>
Error codes
| 2 |
Content is empty |
|
| 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