Check if a doc exists in your stream using MD5.
This method will work someday... (ask us about if you need it)
- This method call must be authenticated and signed.
- "read" permission is necessary to access to private docs.
URL
http://www.ipernity.com/api/doc.checkMD5
Parameters
api_key
|
∗ |
Your api_key.
|
md5
|
∗ |
The MD5 checksum to check or a comma seperated list of MD5 checksums (maximum is 20).
|
∗ : this parameter is required.
Response
<docs count="5" found="2">
<doc md5="235e2a6828db582a8278cd2bc645790b" doc_id="12345" found="1"/>
<doc md5="0945c9c3e9ad7f32eeaaa0096934e281" found="0"/>
(...)
</docs>
Or, an empty response if the md5 was not found.
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
- 2009-08-18: Method created.
See also