Update ApiController.php

Typo and details