Supported Formats

JSON

Errors

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

Examples

{
  "compliant": 4174,
  "non_compliant": 166,
  "forwarded": 1,
  "total": 4355,
  "none": 4188,
  "quarantine": 1,
  "reject": 166
}

Params

Param name Description
q
optional

Params for Ransack Search

Validations:

  • Must be a Hash

q[start_date]
required

Search by date begin, Format: YYYY-MM-DD

Validations:

  • Must be a String

q[end_date]
required

Search by date end, Format: YYYY-MM-DD

Validations:

  • Must be a String

filter
optional

Search by filter, Format: “last_7_days, last_10_days, last_15_days, last_30_days

Validations:

  • Must be a String