This document describes the current API revision 1.0 and contains documentation for:
Feel free to use the API of the libremap.net instance, which is located at http://libremap.net/api/
.
URL | HTTP method | Documentation link | Description |
---|---|---|---|
/api/router/:id | GET | Router | Get router doc with ID :id |
/api/router/ | POST | Router | Create new router doc with autogenerated ID |
/api/router/:id | PUT | Router | Update router doc with ID :id |
/api/router/:id | DELETE | Router | Delete router doc with ID :id |
/api/routers_by_location[_stripped]/:bbox | GET | Router/views | Get routers by geolocation bounding box :bbox |
/api/routers_by_alias[_stripped] | GET, POST | Router/views | Get routers by alias |
/api/routers_coarse | GET, POST | Router/views | Get clusters of routers |