Add an API
Typo: change list to all
Return a list instead of a dict in api/all
fix