Requête d'analyse de plusieurs fichiers

Content-Type

multipart/form-data

Corps de la requête

Plusieurs fichiers.

Exemple de réponse :

{

"completed": "Mon, 01 Mar 2021 06:55:44 GMT",

"created": "Mon, 01 Mar 2021 06:55:43 GMT",

"progress": 100,

"scan_result": {

"clean": {

"started": "2021-03-01 06:55:43",

"stopped": "2021-03-01 06:55:43",

"verdict": "clean"

},

"corrupted.com": {

"errors": [

{

"error": "Corrupted object",

"object": "/root/kesl-service/tmp/75d28fe6-8154-4361-9382-90a76861518a"

}

],

"started": "2021-03-01 06:55:43",

"stopped": "2021-03-01 06:55:43",

"verdict": "non scanned"

},

"error.com": {

"errors": [

{

"error": "read error",

"object": "/root/kesl-service/tmp/37f6e0dd-13f9-4d11-899c-5fe0f23e407d"

}

],

"started": "2021-03-01 06:55:44",

"stopped": "2021-03-01 06:55:44",

"verdict": "non scanned"

},

"infected.com": {

"started": "2021-03-01 06:55:44",

"stopped": "2021-03-01 06:55:44",

"threats": [

{

"name": "EICAR-Test-File",

"object": "/root/kesl-service/tmp/7d664646-bf56-4060-b958-5ce9e746c929"

}

],

"verdict": "infected"

}

},

"status": "completed",

"verdicts": [

"clean",

"non scanned",

"infected"

]

}

Haut de page