Documentation

The API documentation

All information is provided by RESTful endpoints

Submitting An Incident Report

Python Example Using Requests package

https://entropyguardian.com/api/submitReport

from requests import post

headers = {'AUTH-XC' : 'example-api-key'}

report_body = {

'ip': 'example_data',

'email': 'example_data',

'phone': 'example_data',

'street': 'example_data',

'city': 'example_data',

'state': 'example_data',

'country': 'example_data',

'zip': 'example_data'

}

print(post(

"https://entropyguardian.com/submitReport",

headers=headers,

json=report_body).text)

List All Incident Reports

Python Example Using Requests package

https:/entropyguardian.com/api/listReport

from requests import get

headers = {'AUTH-XC' : 'example-api-key'}

print(get(

"https://entropyguardian.com/listReport",

headers=headers).text)

Redact An Incident Report

Python Example Using Requests package

https:/entropyguardian.com/api/redactReport

from requests import post

headers = {'AUTH-XC' : 'example-api-key'}

req_body = {

'id': 'example_id'

}

print(post(

"https://entropyguardian.com/redactReport",

headers=headers,

json=req_body).text)

Review Information

Python Example Using Requests package

https:/entropyguardian.com/api/review

from requests import post

headers = {'AUTH-XC' : 'example-api-key'}

req_body = {

'ip': 'example_data',

'email': 'example_data',

'phone': 'example_data',

'street': 'example_data',

'city': 'example_data',

'state': 'example_data',

'country': 'example_data',

'zip': 'example_data'

}

print(post(

"https://entropyguardian.com/review",

headers=headers,

json=req_body).text)