We create an identifier (id) and database independent object api.
We create a model, api platform configurations and data provider respectively.
You can try Api with a request.
In this way, XML, JSON does not matter, it gets all the response format supported by the API Platform.
Thank you for reading.