Firebrand\Hail\Controllers\HailController::fetchOneSync
Fetch one specific Hail object synchronously and update its database record
The object to fetch is specified in the URL e.g.: /hail/fetchOne/[CLASS]/[HAILID] Example: /hail/fetchOne/Firebrand-Hail-Models-Article/l1KjRUP will fetch and update the article with HailID=l1KjRUP
Signature
public function fetchOneSync(HTTPRequest
$request )
Parameters
$request
— SilverStripe\Control\HTTPRequest- Current request
Returns
- HTTPResponse
- JSON response