GET |
/cases |
Gets all cases |
|
[ { "id": 1, "Case": "ZP01",... } ] |
GET |
/cases/:id |
Gets specific case |
id |
{ "id": 1, "Case": "ZP01",... } |
GET |
/figures |
Retrieves current counts of PUIs, PUMs, and confirmed cases in Zamboanga City. |
id |
{ "pui": { "Value": 75, ... }, "pum": { "Value": 2381, ... }, "confirmed": { "value": 5, ... } } |
GET |
/puis |
Gets all PUI count |
|
[ { "id": 1, "Value": 93, "DataUpdatedAt": "2020-04-06T00:00:00Z... }, ... ] |
GET |
/pums |
Gets all PUM count |
|
[ { "id": 1, "Value": 2381, "DataUpdatedAt": "2020-04-06T00:00:00Z... }, ... ] |
POST |
/auth/local |
Attempts to login the user using the specified credentials. If successful, returns a token and the user's profile. |
identifier and password |
{ "jwt": "TOKEN_HERE", "user": {...} } |