Colymba\RESTfulAPI\RESTfulAPI::index
Main API hub switch All requests pass through here and are redirected depending on HTTP verb and params
Signature
public function index(HTTPRequest
$request )
Parameters
$request
— SilverStripe\Control\HTTPRequest- HTTP request
Returns
- string
- json object of the models found
Line | Task |
---|---|
321+ | move authentication check to another methode |