explore.docs.getPopular
/ Live testing
Return the week most popular documents
- This method call does not require authentication.
- "read" permission is necessary to access to private docs.
URL
http://www.ipernity.com/api/explore.docs.getPopular
Parameters
api_key
|
∗ |
Your api_key.
|
media
|
|
The type of media to return. Values are : photo and video.
|
extra
|
|
A comma seprarated list of extra information. Extra parameters are: owner, dates, license, medias, geo.
|
thumbsize
|
|
Choose your prefered size for thumbnails: 75, 100, 240, 500 or 560. (Value is 75x by default)
|
per_page
|
|
The number of docs to return on each page. (Default is 20, maximum is 50)
|
page
|
|
The page of results to return.
|
∗ : this parameter is required.
Response
<docs total="12" per_page="20" page="1" pages="1">
<doc doc_id="394926" media="photo" license="0" title="My red car">
<owner user_id="28987"/>
<thumb label="75x" ext="jpg" w="75" h="75"
url="http://u1.ipernity.com/2/49/26/394926.e831d113.75x.jpg"/>
</doc>
<doc doc_id="3611" media="photo" license="11" title="DSC19909">
<owner user_id="87287"/>
<thumb label="75x" ext="jpg" w="75" h="75"
url="http://u1.ipernity.com/1/36/11/3611.236f34e9.75x.jpg"/>
</doc>
(...)
</docs>
Error codes
| 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 |
| 130 |
OAuth protocol version unsupported |
| 131 |
OAuth parameters are missing |
| 132 |
OAuth Clock skew |
| 133 |
OAuth Nonce is invalid |
| 134 |
OAuth Timestamp is invalid |
| 135 |
OAuth Signature method unsupported |
| 500 |
Service error |
| 501 |
Maintenance mode |
| 503 |
Service unavailable |
Changelog
- 2009-08-14: Method created.
See also