This commit merges API routes and pages into a single concept. The pages/api folder is now not special anymore.