Return the comments on a document.
- This method call does not require authentication.
- "read" permission is necessary to access to private docs.
URL
http://www.ipernity.com/api/doc.comments.getList
Parameters
api_key
|
∗ |
Your api_key.
|
doc_id
|
∗ |
The ID of the document to get the comment list for
|
extra
|
|
A comma seprarated list of extra information. Extra parameters are: owner.
|
per_page
|
|
The number of records to return on each page. (Default is 100, maximum is 100)
|
page
|
|
The page of results to return.
|
∗ : this parameter is required.
Response
<comments doc_id="588568" total="2" count="2" per_page="100" page="1" pages="1">
<comment comment_id="12568" user_id="5885" username="John"
posted_at="1203605881">
<content>The first comment</content>
</comment>
<comment comment_id="12569" parent_id="12568" user_id="5886" username="Jim"
posted_at="1203605982" modified_at="1203606243">
<content>Yes, I can see this ;)</content>
</comment>
</comments>
Error codes
| 1 |
Document not found |
|
| 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