We have been using the following API for last 2 years for getting the list of org units from DHIS2 to keep an external system’s facility list in sync -
https://*****/api/organisationUnits.json?fields=[id,name,openingDate,closedDate]
The version was 2.36.x. When the version was updated to 2.4, the API stopped working, and finally we found that this does work (without the third brackets) -
https://*****/api/organisationUnits.json?fields=id,name,openingDate,closedDate
Just checking whether this change was intentional or not. I did not go through version Whats New documentation, maybe this was mentioned.
We would expect that you should not do breaking changes in existing APIs. Anyone from dev team can comment?
1 post - 1 participant