moved routes to regex; fixes /:id vs /range?q1=v1 .. falling into /id: route issue
automated api registry, exported to api_registry