This feature is depreciated, and individual-level case data is no longer updated; it remains available to allow access to historical data.
Returns the latest 100 cases.
Method | URI |
---|---|
GET | /cases |
{
"current_page": 1,
"data": [
{
"id": 10000,
"province": "ON",
"city": "Example City",
"age": "60",
"travel_history": "Pending",
"confirmed_presumptive": "CONFIRMED",
"source": "https://www.example.net",
"date": "2020-03-30 19:45:00"
},
...
],
"first_page_url": ".../cases",
"from": 1,
"last_page": 100,
"last_page_url": ".../cases?page=100",
"next_page_url": ".../cases?page=2",
"path": ".../cases",
"per_page": "100",
"prev_page_url": null,
"to": 100,
"total": 10000
}
Parameter | Type | Description |
---|---|---|
province | String | Filter cases to a specific province e.g. QC |
per_page | Integer | Number of cases per page (max 1000) |
order | DESC |ASC |
If ASC , oldest cases are shown first. Defaults to DESC |
/cases?province=ON&per_page=50
Returns a single case record by ID.
Method | URI |
---|---|
GET | /case/:id |
/case/123