{
  "openapi" : "3.0.1",
  "info" : {
    "title" : "Anti-Malware Rest Api",
    "description" : "Used Anti-Malware addon rest endpoints",
    "license" : {
      "name" : "AGPL",
      "url" : "https://www.gnu.org/licenses/agpl-3.0.en.html"
    },
    "version" : "1.0"
  },
  "tags" : [ {
    "name" : "/malware",
    "description" : "Malware detection"
  } ],
  "paths" : {
    "/malware/detection" : {
      "post" : {
        "tags" : [ "/malware" ],
        "summary" : "Process infected items",
        "description" : "This processes infected items",
        "operationId" : "processInfectedItems",
        "parameters" : [ {
          "name" : "token",
          "in" : "query",
          "schema" : {
            "type" : "string"
          }
        } ],
        "requestBody" : {
          "description" : "List of infected items paths",
          "content" : {
            "application/json" : {
              "schema" : {
                "type" : "array",
                "items" : {
                  "type" : "string"
                }
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "Request fulfilled"
          },
          "403" : {
            "description" : "Unauthorized to process infected items"
          }
        }
      }
    }
  }
}