moved example from base directory to /api