Server version

Hi all,

I am writing a webapp that works only for some specific version of dhis2 (25/26). How would I get the version of the server through the API? I’d like to show a warning it the server is running with a non-supported version. I don’t see that info at /api/resources. Or should I tackle the issue in a different way? Thanks.

Hi Arnau,

you can use this endpoint …/api/system/info

You have more information here: https://docs.dhis2.org/master/en/developer/html/webapi_system_resource.html

···

On Tue, Feb 14, 2017 at 10:47 AM, Arnau Sánchez rbarnau@gmail.com wrote:

Hi all,

I am writing a webapp that works only for some specific version of dhis2 (25/26). How would I get the version of the server through the API? I’d like to show a warning it the server is running with a non-supported version. I don’t see that info at /api/resources. Or should I tackle the issue in a different way? Thanks.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thanks Jose, that’s it!

···

2017-02-14 10:53 GMT+01:00 Jose Garcia Muñoz josemp10@gmail.com:

Hi Arnau,

you can use this endpoint …/api/system/info

You have more information here: https://docs.dhis2.org/master/en/developer/html/webapi_system_resource.html

On Tue, Feb 14, 2017 at 10:47 AM, Arnau Sánchez rbarnau@gmail.com wrote:

Hi all,

I am writing a webapp that works only for some specific version of dhis2 (25/26). How would I get the version of the server through the API? I’d like to show a warning it the server is running with a non-supported version. I don’t see that info at /api/resources. Or should I tackle the issue in a different way? Thanks.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp