just found the answer myself: it has to be https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json?paging=false&fields=dataSetElements[dataElement[id,code,name]]
the other question remains: why cant I use the old syntax by adding 24 or 23 to the url? Regards, Uwe --- > Uwe Wahser <[email protected]> hat am 3. November 2016 um 09:52 geschrieben: > > > Dear all, > > I am a bit confused about the api in 2.25. Before, I was able to list > dataElements of a given dataSet via > https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json?paging=false&fields=dataElements[id,code,name] > > As I understand from the manual, this has changed to > https://play.dhis2.org/demo/api/dataSets/N4fIX1HL3TQ.json?paging=false&fields=dataSetElements[id,code,name] > > Two issues in this context: > 1 - I would have expected to be able to use the old syntax by adding 24 or 23 > into the url - that doesn't work. > 2 - the new syntax only works for the id of a dataSetElement and doesn't bring > up code nor name. fields=dataSetElements[:all] only brings up a few attribute, > but not neither code nor name. > > Am I missing something? Haven't tested with other sub-ressources, yet. > > Thanks, > > Uwe > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp

