List the routes the API serves at its root
The root's list named a /grand-prix/{name}/year/{year} route and a
/tracks/.../layout/... route that do not exist, and left out the
per-layout file route, the session thumbs and the Kometa metadata, so a
reader of / was sent to addresses that answer 404.
Claude-Session: https://claude.ai/code/session_01NcbgfJAa38xFpzy69BWrqh
This commit is contained in:
+2
-2
@@ -75,9 +75,9 @@ async def root():
|
||||
"/circuits/{country_slug}/{city_slug}",
|
||||
"/circuits/{country_slug}/{city_slug}/{circuit_slug}",
|
||||
"/circuits/{country_slug}/{city_slug}/{circuit_slug}/layout/{layout_slug}",
|
||||
"/circuits/{country_slug}/{city_slug}/{circuit_slug}/layout/{layout_slug}/{format}",
|
||||
"/tracks/{country_slug}/{city_slug}/{circuit_slug}/year/{year}/{format}",
|
||||
"/tracks/{country_slug}/{city_slug}/{circuit_slug}/layout/{layout_slug}/{format}",
|
||||
"/grand-prix/{grand_prix_name}/year/{year}",
|
||||
"/grand-prix/{grand_prix_name}/{season}/{format}",
|
||||
"/posters/race/{grand_prix_name}/{season}.png",
|
||||
"/posters/season/{season}.png",
|
||||
"/posters/session/{grand_prix_name}/{season}/{session_slug}.png",
|
||||
|
||||
Reference in New Issue
Block a user