Level 8
Just return the Collection or Model instance from the Controller.
public function someAction()
{
$collection = Model::conditions()
->get();
$model = Model::conditions()
->first();
return $collection;
// OR
return $model;
}
If you want to Transform the JSON in some particular way, use API Resource (Docs)