KuyoDynamics / SILCServer

API for SILC/Village Banking Applications written in nodejs
MIT License
2 stars 1 forks source link

Metadata: Add Field Transformers API #17

Open chaiwa-berian opened 5 years ago

chaiwa-berian commented 5 years ago

In SILC Server 0.1.0 we should introduce field transformers, the idea is to allow further customization of the properties on the server side before the result is returned. Example transformer called rename can be used like this:

/api/silcgroups/ID?fields=id|rename(i),name|rename(n) This will rename the id property to i and name property to n.