Closed UmeshBhosale closed 7 years ago
@manojLondhe @coolbung
We have written a new function setApiResponse which will be called by newly created plugins, who wants to send reply in following format:
{ "err_code": "", "err_message": "", "data": { "result": [ ] } }
As this is the new function,old APIs will call the setResponse function and can work.
@manojLondhe We have written a new method named 'setApiResponse()'. Those who wants new response format can use this method. Otherwise, the com-api can work on previous method namely 'setResponse()'. So it won't break anything for other com-api consumers. However to get advantages of this release they should update their resources too.
Ok. How are we handling the envelope template ? How will it be overriden ?
On Thu, Jun 1, 2017 at 9:23 AM, twsvaishali notifications@github.com wrote:
-- Thanks! Ashwin Date techjoomla.com http://techjoomla.com/?utm_source=email_signature&utm_medium=email&utm_campaign=ashwin | appcarvers.com http://appcarvers.com/?utm_source=email_signature&utm_medium=email&utm_campaign=ashwin | tekdi.net http://tekdi.net/?utm_source=email_signature&utm_medium=email&utm_campaign=ashwin @coolbung | @techjoomla | @appcarvers | @tekdinet
If it isn't broken, don't fix it!