← Back to team overview

dhis2-devs team mailing list archive

Re: Metadata Sync - API versioning in DHIS

 

Hi Nicolay,

We see that you have recently made changes in 2.25 settings-app to change
the config.baseUrl from /api to /api/25
As a result few of the apis mentioned below are not working as expected. We
would like to know your plans on enabling api versioning for the metadata
sync apis so that they can work fine with the new baseUrl as well.


Thanks
Aamer.


On Tue, Sep 20, 2016 at 4:48 PM, Aamer Mohammed <aamerm@xxxxxxxxxxxxxxxx>
wrote:

> Hi Lars/Morten,
>
> This is regarding the metadata sync feature which we have contributed to
> DHIS recently. When we are using the setting-app from 2.25 development
> branch (master), we see that versioned api calls are being made from the
> app instead of the default api calls.
> /api/25/metadata/versions
> /api/25/metadata/version/create
>
> These apis are not yet redirected to the default behaviour. The
> synchronization tab in settings-app is not working as a result. Please
> suggest us on the behaviour of versioned apis and also to handle api
> versioning for all the metadata sync apis.
>
>
> Thanks
> Aamer.
>

Follow ups

References