Custom URL to python controller mapping possible with website_route_rules hook?

Hi all,

is it possible to expose an API endpoint with a fixed format like:

and map the myhost/API_URL/ to a python controller that returns JSON data with the website_route_rules hook?

If I try to remap something with the website_route_rules I only get a 404 error.