You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The URL of the regions API is supposed to be /api/health/regions. That URL works correctly.
However, calls made to /api/regions, an unintended URL, will also be resolved, but not entirely correctly: the summary data for each region will be correct, but the URL attribute leading to more detailed information on the region will be incorrect.
I think the right fix for this is to rewrite the routing code in ce/api/__init__.py to better separate the handling of the /api/watershed and /api/health APIs from the main '/api' APIs.
The text was updated successfully, but these errors were encountered:
The URL of the
regions
API is supposed to be/api/health/regions
. That URL works correctly.However, calls made to
/api/regions
, an unintended URL, will also be resolved, but not entirely correctly: the summary data for each region will be correct, but the URL attribute leading to more detailed information on the region will be incorrect.I think the right fix for this is to rewrite the routing code in
ce/api/__init__.py
to better separate the handling of the/api/watershed
and/api/health
APIs from the main '/api' APIs.The text was updated successfully, but these errors were encountered: