Open mtuchi opened 1 week ago
Maybe duplicate of https://github.com/OpenFn/adaptors/issues/62
We should do a patch on 5.x which enforces api version <41, and has clear documentation.
Then we do 6.x, reworking APIs and removing axios. The 6.x adaptor will only work with DHIS2 >= 38, so again we need to warn in the console if using an old version, and clearly document the compatibility.
So implementations using dhis2 37 would not be able to migrate to adaptor 6.x and use any new features from there. Is that OK? Do we mind?
Description
Since DHIS2 version 2.36, the tracker API has been re-implemented and the old API endpoints will be removed in
v2.42
Learn More hereTasks
upsert
operation to use the new tracker api