Gihan, Can't we implement the same functionality for REST API? This will help to prevent maintaining two client logics for REST API & Admin API.
On Wed, Mar 23, 2016 at 1:27 PM, Gihan Anuruddha <[email protected]> wrote: > There is a parameter that you can specify which column you need for > response. > > On Wed, Mar 23, 2016 at 11:36 AM, Geesara Prathap <[email protected]> > wrote: > >> Thanks for the information. In admin service how to do $subject. Just to >> know >> >> On Wed, Mar 23, 2016 at 11:28 AM, Gihan Anuruddha <[email protected]> wrote: >> >>> AFAIK, you can't do this when you use the REST API. But if you use the >>> admin service you should able to do this. >>> >>> On Wed, Mar 23, 2016 at 10:39 AM, Geesara Prathap <[email protected]> >>> wrote: >>> >>>> Hi All, >>>> >>>> As an example, *ORG_WSO2_IOT_DEVICES_TEMPERATURE *table consists of >>>> five fields: META_OWNER, META_DEVICETYPE, META_DEVICEID, META_TIME, >>>> TEMPERATURE and _TIMESTAMP. But interested only less number of fields. When >>>> querying this >>>> >>>> *meta_owner:admin AND meta_deviceId:1iexrfgp2jwa8 AND >>>> meta_time:[1456467843079 TO 1456468494817]* which retrieved all fields >>>> it contains. So how to get selected some of the fields only which are >>>> required? >>>> >>>> Thanks, >>>> Geesara >>>> -- >>>> Geesara Prathap Kulathunga >>>> Software Engineer >>>> WSO2 Inc; http://wso2.com >>>> Mobile : +940772684174 >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> W.G. Gihan Anuruddha >>> Senior Software Engineer | WSO2, Inc. >>> M: +94772272595 >>> >> >> >> >> -- >> Geesara Prathap Kulathunga >> Software Engineer >> WSO2 Inc; http://wso2.com >> Mobile : +940772684174 >> >> > > > -- > W.G. Gihan Anuruddha > Senior Software Engineer | WSO2, Inc. > M: +94772272595 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- /sumedha m: +94 773017743 b : bit.ly/sumedha
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
