The Cyber Threats API provides endpoints to fetch, filter, and add cyber threat resources from a MongoDB database.
Important
At the current state, You will need to run the API yourself, We are undergoing server maintenance with no ETA, Your "Base URL" will change.
http://75.193.104.120:5000
- URL:
/cyberthreats/type
- Method:
GET
- Parameters:
type
: (string, required) The type of cyber threat to filter by.
curl -X GET "http://75.193.104.120:5000/cyberthreats/type?type=phishing"
- URL:
/cyberthreats/severity
- Method:
GET
- Parameters:
severity
: (string, required) The severity level of cyber threat to filter by (low
,medium
,high
).
curl -X GET "http://75.193.104.120:5000/cyberthreats/severity?severity=high"
- URL:
/cyberthreats
- Method:
GET
curl -X GET "http://75.193.104.120:5000/cyberthreats"
- URL:
/cyberthreats/<threat_id>
- Method:
GET
- Path Parameters:
threat_id
: (string, required) The ID of the cyber threat to fetch.
curl -X GET "http://75.193.104.120:5000/cyberthreats/1234567890abcdef"
- URL:
/cyberthreats/add
- Method:
POST
- Request Body:
type
: (string, required) The type of cyber threat.severity
: (string, required) The severity level of the cyber threat (low
,medium
,high
).description
: (string, required) Description of the cyber threat.
curl -X POST -H "Content-Type: application/json" -d '{"type": "malware", "severity": "high", "description": "New malware threat"}' "http://75.193.104.120:5000/cyberthreats/add"