← Back to team overview

dhis2-devs team mailing list archive

Re: Getting Version Information Through API?

 

Hi Harsh,

have a look at the docs here:

https://ci.dhis2.org/docs/master/en/developer/html/webapi_system_resource.html#d0e10839

e.g.:

https://play.dhis2.org/demo/api/system/info


Yes /api and /api/{current_version} are equivalent.


regards,

Lars



On Thu, Dec 15, 2016 at 9:35 AM, Harsh Atal <harsh.atal@xxxxxxxxx> wrote:

> Hi
>
> Is it possible to know which version of DHIS2 is running through API call?
>
> And, are these endpoints equivalent assuming I am running on 25 version of
> DHIS2? :
>
> ../api/schemas AND ../api/*25*/schemas
>
> Thanks
> harsh
>
> _______________________________________________
> 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
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx
http://www.dhis2.org <https://www.dhis2.org/>

Follow ups

References