change api docs to /api route