DHIS2 web api version

Hello devs,

Is there a web api end-point that returns the api version? I have a system that extracts analytic data from DHIS2 but it breaks when I use a new version of DHIS2. It has been working on 2.22 but when I upgraded to 2.28 it breaks because:

2.28 has the response body

['metaData']['dimensions']['pe']

while 2.22 has the following

['metaData']['pe']

Regards,

Michael

api/system/info.json

Look for the version key

Alex

···

On Sunday, January 28, 2018, Michael Mwebaze michael.mwebaze@gmail.com wrote:

Hello devs,

Is there a web api end-point that returns the api version? I have a system that extracts analytic data from DHIS2 but it breaks when I use a new version of DHIS2. It has been working on 2.22 but when I upgraded to 2.28 it breaks because:

2.28 has the response body

['metaData']['dimensions']['pe']

while 2.22 has the following

['metaData']['pe']

Regards,

Michael


Alex Tumwesigye

Technical Advisor - DHIS2 (Consultant),
Ministry of Health/AFENET | HISP Uganda

Kampala

Uganda
+256 774149 775, + 256 759 800161

Skype ID: talexie

IT Consultant (Servers, Networks and Security, Health Information Systems - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant

"I don’t want to be anything other than what I have been - one tree hill "