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
Also, I'm not sure if there is currently a plain LIST action. The current list() in tour.py seems to require passing a list of tour IDs to get details back, but doesn't list the tours if you don't know their IDs.
This is probably low priority for now, as it's easy enough to get by directly through the DB.
The text was updated successfully, but these errors were encountered:
Also, I'm not sure if there is currently a plain LIST action
There isn't. The client already knows what tours are associated to which nodes / leaves, and is in a better place to decide how exciting a tour is (if it's on-screen, if it's something a user has seen before). So the /tour/list endpoint just does what the client tells it to. As things stand today there's not much reason to add one.
Also, arguably the PUT/DELETE endpoint should be in /API/tour. But I think the idea with the API controller is for things we're publicly offering, rather than just anything that speaks JSON. I'm not convinced we should muddy the waters there with something that likely isn't useful for others, especially as we may well re-think this if/when user-generated tours come about.
It would probably be via:
Also, I'm not sure if there is currently a plain LIST action. The current
list()
intour.py
seems to require passing a list of tour IDs to get details back, but doesn't list the tours if you don't know their IDs.This is probably low priority for now, as it's easy enough to get by directly through the DB.
The text was updated successfully, but these errors were encountered: