-
Notifications
You must be signed in to change notification settings - Fork 0
API
saigesp edited this page Jul 19, 2017
·
1 revision
In construction
/api/index/[id]
Retrieve a single apartment by ID.
Example: /api/index/123456
/api/index/search/?[square coords]
Retrieve apartments wich are inside the given box.
Example: /api/index/search/?ne_lat=1.2345&ne_lng=1.2345&sw_lat=0.1234&sw_lng=0.1234
/api/index
Post an apartment to db. See index model for data model.