API has its own function to export a model when using get: exportModel(); I find this function very sensible, e.g. to alter time fields (currently exported as Datetime object).
However, the current rest implementation bypassed this function when only a single record identified by ID was requested. This PR unifies GET handling in API: they all run through exportModel().
API has its own function to export a model when using get: exportModel(); I find this function very sensible, e.g. to alter time fields (currently exported as Datetime object). However, the current rest implementation bypassed this function when only a single record identified by ID was requested. This PR unifies GET handling in API: they all run through exportModel().