Closed lxylxy123456 closed 4 years ago
@Lawrence37 Can you add the rule that get_all=true must have list_only=true?
Also: should API fail or return empty list when using get_latest or timestamp?
Also: it should look more like
{
"success": true,
submissions: [
{
"timestamp": /* submission timestamp */,
"files": /* encoded directory tree */
},
...
]
}
I removed get_all and get_latest. If no submission matches the timestamp, the server should respond with "Submission not found."
get_all
?"timestamp"
can be used to retrieve all submissions.I see. My brain got short circuit when I was asking 1. I have no more questions now.
API modification: checksum is md5sum, whenever list_only or not return checksum Database modification: checksum for files Backend: ...