Hi Gimantha, Thanks. I will check this out.
On Mon, Apr 4, 2016 at 9:48 AM, Gimantha Bandara <[email protected]> wrote: > Hi all, > > We have added an extra query parameter to "get" operation and a JSON > element called "columns" to "search" and "drilldown" operations. > > > *Get the records from a table* > > GET /analytics/tables/{tableName}?columns=column1,column2,column3 > > *Drilldown and Search APIs* > > Additional JSON element will be added as following > > POST /analytics/drilldown or POST /analytics/search > > { > "tableName" : <tableName>, > .... > .... > "columns: ["column1", column2", column3"] > } > > > On Wed, Mar 23, 2016 at 1:56 PM, Gihan Anuruddha <[email protected]> wrote: > >> Hi Sumedha, >> >> Gimantha will implement same for the REST API as well. This will be >> available in the DAS-3.0.2-SNAPSHOT pack. >> >> Regards, >> Gihan >> >> On Wed, Mar 23, 2016 at 1:48 PM, Sumedha Rubasinghe <[email protected]> >> wrote: >> >>> 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 >>> >> >> >> >> -- >> W.G. Gihan Anuruddha >> Senior Software Engineer | WSO2, Inc. >> M: +94772272595 >> > > > > -- > Gimantha Bandara > Software Engineer > WSO2. Inc : http://wso2.com > Mobile : +94714961919 > -- 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
