document /api/index