GET /api/points- List all pointsGET /api/points/{point}- Get specific point detailsGET /api/points/nearby- Find points near a location (requires lat/lng/radius)GET /api/points/geojson- Get all points as GeoJSON feature collectionGET /api/points/{id}/geojson- Get specific point as GeoJSON feature
GET /api/routes- List all routesGET /api/routes/{route}- Get specific route detailsGET /api/routes/{id}/points- Get points belonging to a routeGET /api/routes/{id}/tags- Get tags associated with a routeGET /api/routes/nearby- Find routes near a location (requires lat/lng/radius)
- GET
/api/points - Returns: List of all points in the system
- GET
/api/points/{point} - Parameters:
point(ID of the point) - Returns: Details of the specified point
- GET
/api/points/nearby - Parameters: requires latitude, longitude, and radius
- Returns: List of points within the specified area
- GET
/api/points/geojson - Returns: All points formatted as GeoJSON feature collection
- GET
/api/points/{id}/geojson - Parameters:
id(Point ID) - Returns: Single point formatted as GeoJSON feature
- GET
/api/routes - Returns: List of all routes in the system
- GET
/api/routes/{route} - Parameters:
route(ID of the route) - Returns: Details of the specified route
- GET
/api/routes/{id}/points - Parameters:
id(Route ID) - Returns: List of points associated with the specified route
- GET
/api/routes/{id}/tags - Parameters:
id(Route ID) - Returns: List of tags associated with the specified route
- GET
/api/routes/nearby - Parameters: requires latitude, longitude, and radius.
- Returns: List of routes within the specified area