silverstripe-restfulapi icon indicating copy to clipboard operation
silverstripe-restfulapi copied to clipboard

SilverStripe RESTful API with a default JSON serializer.

Results 36 silverstripe-restfulapi issues
Sort by recently updated
recently updated
newest added

I have the following domains: http://app.arvrlab.org.nz (the origin domain requesting from the API) http://cms.arvrlab.org.nz (the Silverstripe CMS and API) I get the following CORS errors: Access to XMLHttpRequest at 'http://cms.arvrlab.org.nz/api/Member/743'...

We faced this issue when integrating the lostPassword feature of the api: Uncaught BadMethodCallException: Object->__call(): the method 'sendEmail' does not exist on 'SilverStripe\Security\MemberAuthenticator\LostPasswordHandler' IN GET /api/auth/lostPassword?email=**** Line 54 in /vendor/silverstripe/framework/src/Core/CustomMethods.php...

I wanted users sending a POST to be able to include new relations within the POST so I extended using onAfterDeserialize which then creates the relations and replaces these items...

Hi, I try [these docs](https://github.com/colymba/silverstripe-restfulapi/blob/master/doc/DefaultSerializer.md) for the BlogCategories data object & FeaturedImage for [Blog](https://github.com/silverstripe/silverstripe-blog) but i receive these error: ![Screenshot (185)](https://user-images.githubusercontent.com/6697222/60872506-08c63d80-a24a-11e9-915a-3d1d675c6f86.png) Would you show me the correct configuration? Thanks the...

Is there any configuration or way to make a pagination json at the end of the Api like this: ``` first_page_url: "http://localhost/pointofsale/api/product/all?page=1", from: 5, last_page: 500, last_page_url: "http://localhost/pointofsale/api/product/all?page=500", next_page_url: "http://localhost/pointofsale/api/product/all?page=4",...

Hi, This is not an issue, it is just my query. I have one form and it has 3-4 drop-down fields wherein every drop-down populate their data from different model....

question

Hey colymba, Love your work. I was wondering if you'd accept a PR that extended the Basic Query Handler and Serialiser that would allow the user to specify which fields...

Hi, When getting a DataObject /api/view/ I don't seem to getting Created or LastEdited returned. Thanks Michael

It seems the various hooks in classes such as RESTfulAPI_DefaultQueryHandler get called twice. If I define onAfterDeserialize() on a DataExtension, this method gets called twice in RESTfulAPI_DefaultQueryHandler::updateModel(), by this code:...

Hi, thank you for the module. Its working great so far. However I would like to make custom methods (e.g. of Controllers) accessible via REST. Can this be done as...