{
  "opencollection": "1.0.0",
  "info": {
    "name": "Juniper Networks Juniper Apstra Allowlists and Blocklists File Analysis API",
    "version": "4.2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "AuthToken",
      "value": "{{AuthToken}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "File Analysis",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Juniper Networks Submit file for analysis",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{apstra_server}/api/file-analysis/submit",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "file_name",
                  "type": "text",
                  "value": ""
                },
                {
                  "name": "priority",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Submits a file for malware analysis in the ATP Cloud sandbox."
        },
        {
          "info": {
            "name": "Juniper Networks Get file analysis status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{apstra_server}/api/file-analysis/submissions/:submission_id",
            "params": [
              {
                "name": "submission_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns the status and results of a file analysis submission."
        },
        {
          "info": {
            "name": "Juniper Networks List file submissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{apstra_server}/api/file-analysis/submissions",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by analysis status"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of file analysis submissions."
        }
      ]
    }
  ],
  "bundled": true
}