If you simply change the query from being /api/trackedEntityInstances/ to /api/trackedEntityInstances/query, everything is exactly the same as before, it will not change, it uses the grid format.
When is implemented, the /api/trackedEntityInstances endpoint will instead return Dxf2 TEI objects (same as you get when you use /api/trackedEntityInstances/ID) -- Morten On Mon, Jun 29, 2015 at 2:37 PM, Abyot Gizaw <aby...@gmail.com> wrote: > Hi Morten, > > Yes, this affects any tracker related app - definitely tracker-capture. > But what are the query parameters? Are you going to keep existing format? > > Thank you, > Abyot. > > On Mon, Jun 29, 2015 at 5:58 AM Morten Olav Hansen <morte...@gmail.com> > wrote: > >> Hi guys >> >> As part of this [1] I have changed the TEI query endpoint a bit, for >> -now- it can be accessed as before on /api/trackedEntityInstances/, but I >> have also made it available on /api/trackedEntityInstances/query (its new >> location) >> >> Please guys, update your config (I have also updated 2.19 to support both >> endpoints), in a day or two the /api/trackedEntityInstances/ endpoint will >> be replaced with proper TEI objects (from dxf2) and not the grid as we have >> today (it will just be available as /query) >> >> I think this at least applies to tracker-capture (and maybe Android app?) >> >> [1] >> https://blueprints.launchpad.net/dhis2/+spec/web-api-tei-objects-query-resource >> >> -- >> Morten >> -- >> Mailing list: https://launchpad.net/~dhis2-devs-core >> Post to : dhis2-devs-core@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~dhis2-devs-core >> More help : https://help.launchpad.net/ListHelp >> > -- > ---- > Thank you, > Abyot >
-- Mailing list: https://launchpad.net/~dhis2-devs-core Post to : dhis2-devs-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs-core More help : https://help.launchpad.net/ListHelp