silverstripe-restfulapi
silverstripe-restfulapi copied to clipboard
SilverStripe RESTful API with a default JSON serializer.
- [ ] move doc to wiki Add various examples to the doc: - [ ] `onBeforeSerialize` and `onAfterSerialize`. See https://github.com/colymba/silverstripe-restfulapi/issues/23, https://github.com/colymba/silverstripe-restfulapi/issues/26 - [ ] extend `RESTfulAPI_DefaultQueryHandler` for more complex...
$queryParams should be parsed and validated before executing against database. On GET request for filtered data if one modifier value is empty server responds with the full result set. ```...
I will be doing it soon, just for my control
Seem that queries with ?__limit affect the number of sideloaded records too.
This pull request fixes some compatibility issues with PHP 8.0 as well as moves over to GitHub Actions for CI (which is what the core Silverstripe modules have been moving...
Added this fix to solve: Argument 1 passed to SilverStripe\Control\HTTPResponse::sanitiseHeader() must be of the type string, null given. At line 448 in RESTfulAPI.php