Residence Router - adamstelle/abba GitHub Wiki
this endpoint allows an authorized user to create a residence.
- Content-Type: application/json
-
Authorization: Bearer
<token>
{
"sqft": "300",
"type": "apartment",
"street": "100 first street",
"city": "seattle",
"state": "WA",
"zip": "12345",
"address": "100 first street, seattle, WA 12345", not-required
}
This route is what allows a user to return a residence in our app.
- Content-Type: application/json
-
Authorization: Bearer
<token>
{
"sqft": "300",
"type": "condo",
"street": "1234 Example Road",
"city": "seattle",
"state": "WA",
"zip": "12345",
"address": "100 first street, seattle, WA 12345",
}
This route is what allows a user to delete a residence using residence-Id in our app.
- Content-Type: application/json
-
Authorization: Bearer
<token>