PHP Client Calls to the Bright API Quick Start
Using the PHP callApi() function.
Ignoring 404 responses
Normally, you may get the Bright error block when receiving a 404 from the Bright API. If this is something you expect, you can suppress the error block as follows:
$result = $this->bright->callApi('learning_path', array( 'accessMode' => 'realm', 'suppressErrorBlock' => true));