colymba / silverstripe-restfulapi

SilverStripe RESTful API with a default JSON serializer.
BSD 3-Clause "New" or "Revised" License
64 stars 33 forks source link

Can I call multiple dataobject in one api request and response in one json object? #90

Open roopamjain01 opened 6 years ago

roopamjain01 commented 6 years ago

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. So my question is that through this module can I create a custom function in which I can get model data for all drop-downs through one API (http) request.

I don't wan to make API call for each model.

Is this possible, if yes can you please explain me with an example.

Thank you.