api/check_batch_password
Checks a batch password. On success the response includes everything a client needs to access the batch.
URL:
Formats:
- json
HTTP Method:
- POST
Parameters:
- password - password to test, could be clear text or md5 hash.
Response:
{"result":"Correct password, redirecting you to files.","type":"notice",
"url":"https://victori.uploadbooth.com/batch",
"batch":"batch","expire":3600,
"password":"<md5 hash of the batch password>"}
- url - the batch page.
- expire - validity hint in seconds (1 hour).
-
password - md5 hash of the batch password, usable as the password parameter for api/download.
- or:
{"result":"Password is incorrect.","type":"error"}
{"result":"Batch has no password.","type":"error"}
{"result":"Unknown batch","type":"error"}
{"result":"Unknown user","type":"error"}