Rest API - makeUrl

Not sure if it helps exactly but I just had a quick go and got it working with this using modResource as the solution.

<?php

class MyControllerResources extends modRestController {

    public $classKey = 'modResource';
    public $defaultSortField = 'id';
    public $defaultSortDirection = 'ASC';

    public function prepareListObject(xPDOObject $object){
    	$objectArray = $object->toArray();
    	$objectArray['fullUrl'] = $this->modx->makeUrl($objectArray['id'], "", "", "full");;
    	return $objectArray;
    }

}

return 'MyControllerResources';