Supported Formats

JSON

Errors

Code Description
401 Unauthorized
404 Not Found
500 Server crashed for some reason

Examples

{
  "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"
      }
    }
  ]
}

Params

Param name Description
q
optional

Params for Ransack Search

Validations:

  • Must be a Hash

q[sending_mta_ip_address_source_ip_eq]
optional

Search by sending source ip

Validations:

  • Must be a String

q[receiving_ip_address_source_ip_eq]
optional

Search by receiving source ip

Validations:

  • Must be a String

q[result_type_eq]
optional

Search byresult type

Validations:

  • Must be a String

q[receiving_mx_hostname_eq]
optional

Search by receiving mx host name

Validations:

  • Must be a String

page
optional

Page Number

Validations:

  • Must be a String

per
optional

Entries per page.

Validations:

  • Must be a String