See logs below

Fixed the API to return a flat list AND search if you pass a post value
of "search":"findme"

Added unique id to each file

attempted to create some files that contain locale codes

made a single.php page.