← Back to team overview

dhis2-devs team mailing list archive

Re: Questions in DataStore API

 

Hello DHIS-Devs,

We use Datastore api to store data related to our app under our app namespace. As mentioned earlier we see that as most other APIs the dataStore GET api/dataStore/<namespace> don’t support lastUpdated. 

We are planning to introduce lastUpdated filter on this API. Will you be open for that change?

Thanks,
Jhansi
> On 15-Aug-2016, at 4:24 PM, Stian Sandvold <stian@xxxxxxxxx> wrote:
> 
> Hi,
> 
> Being able to use any namespace is an intended feature. So initially all namespaces are accessible, and only restrict access when the namespace have been reserved by an app. Among other things, one of the motivations for doing it this way, is to allow multiple apps to share data in a namespace.
> 
> There are currently no plans to change the api.
> ——
> Stian Sandvold
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org <http://www.dhis2.org/>
> 
> 
> 
> 
>> On 09 Aug 2016, at 10:11, Prachi Srivastava <prachisr@xxxxxxxxxxxxxxxx <mailto:prachisr@xxxxxxxxxxxxxxxx>> wrote:
>> 
>> Hello DHIS-Devs,
>> 
>> We wanted to store some data related to our app and while looking at the DHIS2 API documentation we came across the DataStore API which says we could store data against the app namespace, but while exploring it, we have noticed that we could store data for some random namespace as well, is this a desired behavior which we could use or a bug?
>> 
>> Unlike most other APIs the dataStore GET api/datastore/<nameSpace>/<key> API doesn't support the lastUpdated filter. Do you have any plans to add that in near future and will you be open for that change?
>> 
>> Thanks,
>> Prachi/Jhansi
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-devs@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~dhis2-devs <https://launchpad.net/~dhis2-devs>
>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 


Follow ups

References