{
  "opencollection": "1.0.0",
  "info": {
    "name": "Ocean Security Metrics Threats API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Api-Key",
      "value": "{{X-Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Threats",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get threat by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ocean.security/api/v1/threats/:id",
            "headers": [
              {
                "name": "X-Api-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the threat to retrieve"
              }
            ]
          },
          "docs": "Retrieves the detailed information for a specific threat identified by its unique ID."
        },
        {
          "info": {
            "name": "Get threats by Internet Message ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ocean.security/api/v1/threats/by_internet_message_id/:id",
            "headers": [
              {
                "name": "X-Api-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique Internet Message ID to search for threats"
              }
            ]
          },
          "docs": "Retrieves a list of threats sharing the same Internet Message ID."
        },
        {
          "info": {
            "name": "List recent threats",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ocean.security/api/v1/threats",
            "headers": [
              {
                "name": "X-Api-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "minutes_ago",
                "value": "",
                "type": "query",
                "description": "Number of minutes to look back (default 7 * 24 * 60)"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination (default 1)"
              }
            ]
          },
          "docs": "Returns a paginated list of recent threats, optionally filtered by the number of days to look back."
        }
      ]
    }
  ],
  "bundled": true
}