Add or remove a curated warm query

post/v1/admin/warm-queries

Request

  • Base URL: https://api.offendersearch.app
  • URL: https://api.offendersearch.app/v1/admin/warm-queries
  • Auth: API key in header X-Admin-Key

Request body

action'add' | 'remove' required

Example request

{
  "warmQuery": {
    "query": {
      "firstName": "John",
      "lastName": "Smith",
      "dob": "1985-06-14",
      "age": 39,
      "city": "Chicago",
      "state": "IL",
      "zipcode": "60614",
      "lat": 41.9,
      "lng": -87.65
    }
  }
}

Response

Updated curated set.

status'ok'
action'add' | 'remove'
curatedCountinteger

Changes

No recorded changes to this operation across all 1 revision of this API.