rest - Modelling API response objects -
we standardise responses of our api , while looking @ several apis around web came realise many of them make use of representational object or list of these objects in response.
i not know how these apis handle creation of these objects or if in fact "physical" objects in backend representing subset of "real" domain objects.
in case have couple of hundreds of domain classes , on hundred of them exposed through api.
how these apis (stripe, facebook) handle this? have these response objects physically in software or virtual representation api consumers?
what maintainability in case of versioning? suppose have 3 versions calls, give 300+ representational objects.
i appreciate here.
Comments
Post a Comment