← Back to team overview

dhis2-devs team mailing list archive

Re: Server version

 

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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References