| Code | Description |
|---|---|
| 401 | Unauthorized |
| 404 | Not Found |
| 500 | Server crashed for some reason |
{
"reports": [
{
"id": 1,
"domain_id": 1,
"raw_json": "",
"organization_name": "Google Inc.",
"start_datetime": "2019-02-10T00:00:00.000Z",
"end_datetime": "2019-02-10T23:59:59.000Z",
"contact_info": "smtp-tls-reporting@google.com",
"report_id": "2020-02-05T00:00:00Z_webheat.com",
"policy_type": "sts",
"policy_string": '["version: STSv1", "mode: testing", "mx: mx1.eu.mailhop.org ", "max_age: 386000"]',
"policy_domain": "webheat.com",
"policy_host": " ",
"total_successful_session_count": "10",
"total_failure_session_count": "10",
"report_email_message_id": "CAMxgm9Ehr85xOLJHtDe94GpLW03co1yo-GU=FfcZkeG0bzS+qw@mail.gmail.com",
},
{
"id": 2,
"domain_id": 1,
"raw_json": "",
"organization_name": "Google Inc.",
"start_datetime": "2019-02-10T00:00:00.000Z",
"end_datetime": "2019-02-10T23:59:59.000Z",
"contact_info": "smtp-tls-reporting@google.com",
"report_id": "2020-02-05T00:00:00Z_webheat.com",
"policy_type": "sts",
"policy_string": '["version: STSv1", "mode: testing", "mx: mx1.eu.mailhop.org ", "max_age: 386000"]',
"policy_domain": "webheat.com",
"policy_host": " ",
"total_successful_session_count": "10",
"total_failure_session_count": "10",
"report_email_message_id": "CAMxgm9Ehr85xOLJHtDe94GpLW03co1yo-GU=FfcZkeG0bzS+qw@mail.gmail.com",
},
{
"id": 3,
"domain_id": 1,
"raw_json": "",
"organization_name": "Google Inc.",
"start_datetime": "2019-02-10T00:00:00.000Z",
"end_datetime": "2019-02-10T23:59:59.000Z",
"contact_info": "smtp-tls-reporting@google.com",
"report_id": "2020-02-05T00:00:00Z_webheat.com",
"policy_type": "sts",
"policy_string": '["version: STSv1", "mode: testing", "mx: mx1.eu.mailhop.org ", "max_age: 386000"]',
"policy_domain": "webheat.com",
"policy_host": " ",
"total_successful_session_count": "10",
"total_failure_session_count": "10",
"report_email_message_id": "CAMxgm9Ehr85xOLJHtDe94GpLW03co1yo-GU=FfcZkeG0bzS+qw@mail.gmail.com",
}
],
"meta": {
"total_reports": 3,
"current_page": 1,
"per_page": 25,
"total_pages": 2
}
}
| Param name | Description |
|---|---|
|
q optional |
Params for Ransack Search Validations:
|
|
q[start_datetime_gteq] optional |
Search by date begin start Validations:
|
|
q[start_datetime_lteq] optional |
Search by date begin end Validations:
|
|
q[organization_name_eq] optional |
Search by for orgnization name Validations:
|
|
q[report_id_eq] optional |
Search by report id Validations:
|
|
q[policy_type_eq] optional |
Search by policy type Validations:
|
|
q[policy_host_eq] optional |
Search by Policy host Validations:
|
|
page optional |
Page Number Validations:
|
|
per optional |
Entries per page. Validations:
|
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 404 | Not Found |
| 500 | Server crashed for some reason |
{
"failure-details": [
{ "id": 1,
"result_type": "certificate-host-mismatch",
"sending_mta_ip": "209.85.128.70",
"receiving_ip": "52.29.118.68",
"receiving_mx_hostname": "mx1.eu.mailhop.org",
"failed_session_count": 1,
"ip_address": {
"id": 2,
"sane_source_ip": "10.10.10.10",
"blacklisted": null,
"ptr": null,
"country": "ro",
"created_at": "2020-01-16T09:37:38.309Z",
"updated_at": "2020-01-16T09:37:38.323Z"
}
},
{ "id": 2,
"result_type": "certificate-host-mismatch",
"sending_mta_ip": "209.85.221.70",
"receiving_ip": "52.29.118.68",
"receiving_mx_hostname": "mx1.eu.mailhop.org",
"failed_session_count": 1,
"ip_address": {
"id": 2,
"sane_source_ip": "10.10.10.10",
"blacklisted": null,
"ptr": null,
"country": "ro",
"created_at": "2020-01-16T09:37:38.309Z",
"updated_at": "2020-01-16T09:37:38.323Z"
}
},
{ "id": 3,
"result_type": "certificate-host-mismatch",
"sending_mta_ip": "209.85.221.71",
"receiving_ip": "52.29.162.96",
"receiving_mx_hostname": "mx1.eu.mailhop.org",
"failed_session_count": 3,
"ip_address": {
"id": 2,
"sane_source_ip": "10.10.10.10",
"blacklisted": null,
"ptr": null,
"country": "ro",
"created_at": "2020-01-16T09:37:38.309Z",
"updated_at": "2020-01-16T09:37:38.323Z"
}
}
]
}
| Param name | Description |
|---|---|
|
q optional |
Params for Ransack Search Validations:
|
|
q[sending_mta_ip_address_source_ip_eq] optional |
Search by sending source ip Validations:
|
|
q[receiving_ip_address_source_ip_eq] optional |
Search by receiving source ip Validations:
|
|
q[result_type_eq] optional |
Search byresult type Validations:
|
|
q[receiving_mx_hostname_eq] optional |
Search by receiving mx host name Validations:
|
|
page optional |
Page Number Validations:
|
|
per optional |
Entries per page. Validations:
|
| Code | Description |
|---|---|
| 401 | Unauthorized |
| 404 | Not Found |
| 500 | Server crashed for some reason |
{
"id": 1,
"domain_id": 1,
"organization-name": "Google Inc.",
"start-datetime": "2020-02-05T00:00:00Z",
"end-datetime": "2020-02-05T23:59:59Z",
"contact-info": "smtp-tls-reporting@google.com",
"report-id": "2020-02-05T00:00:00Z_webheat.com",
"policy-type": "sts",
"policy-string": [
"version: STSv1",
"mode: testing",
"mx: mx1.eu.mailhop.org ",
"max_age: 386000"
],
"policy-domain": "webheat.com",
"total-successful-session-count": 0,
"total-failure-session-count": 7,
"failure-details": [
{ "id": 1,
"result_type": "certificate-host-mismatch",
"sending_mta_ip": "209.85.128.70",
"receiving_ip": "52.29.118.68",
"receiving_mx_hostname": "mx1.eu.mailhop.org",
"failed_session_count": 1,
"ip_address": {
"id": 2,
"sane_source_ip": "10.10.10.10",
"blacklisted": null,
"ptr": null,
"country": "ro",
"created_at": "2020-01-16T09:37:38.309Z",
"updated_at": "2020-01-16T09:37:38.323Z"
}
},
{ "id": 2,
"result_type": "certificate-host-mismatch",
"sending_mta_ip": "209.85.221.70",
"receiving_ip": "52.29.118.68",
"receiving_mx_hostname": "mx1.eu.mailhop.org",
"failed_session_count": 1,
"ip_address": {
"id": 2,
"sane_source_ip": "10.10.10.10",
"blacklisted": null,
"ptr": null,
"country": "ro",
"created_at": "2020-01-16T09:37:38.309Z",
"updated_at": "2020-01-16T09:37:38.323Z"
}
},
{ "id": 3,
"result_type": "certificate-host-mismatch",
"sending_mta_ip": "209.85.221.71",
"receiving_ip": "52.29.162.96",
"receiving_mx_hostname": "mx1.eu.mailhop.org",
"failed_session_count": 3,
"ip_address": {
"id": 2,
"sane_source_ip": "10.10.10.10",
"blacklisted": null,
"ptr": null,
"country": "ro",
"created_at": "2020-01-16T09:37:38.309Z",
"updated_at": "2020-01-16T09:37:38.323Z"
}
}
]
}