SilverStripe\CKANRegistry\Service\APIClientInterface::getSearchData
Performs a request to the CKAN API for the given {@link Resource} and returns the raw data result. Uses the endpoint for "datastore_search".
Signature
public function getSearchData(Resource
$resource )
Parameters
$resource
—
Returns
- array
- The output from the CKAN API
Errors/Exceptions
-
RuntimeException
- If API communication fails for some reason