This set of resources is used to expose the shelters.
Table 22. Shelter resources
URI Description | Method | Relative URI |
Get all | GET | /api/v{version}/shelters |
Get by ID. | GET | /api/v{version}/shelters/{id} |
Table 24 Sample JSON return of a shelter
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ |
...
"Id": 1, |
...
"Name": "RSPCA QLD" } |