Questions in DataStore API

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// 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

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

On 09 Aug 2016, at 10:11, Prachi Srivastava prachisr@thoughtworks.com 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// 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
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

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/ 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@dhis2.org 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

On 09 Aug 2016, at 10:11, Prachi Srivastava prachisr@thoughtworks.com 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// 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
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

Hi Jhansi,

yes please go ahead, will be a useful feature.

regards,

Lars

···

On Fri, Apr 7, 2017 at 12:12 PM, jhansirk jhansirk@thoughtworks.com wrote:

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/ 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@dhis2.org 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

On 09 Aug 2016, at 10:11, Prachi Srivastava prachisr@thoughtworks.com 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// 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
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Thanks Lars, will send you a pull request soon.

···

On Fri, Apr 7, 2017 at 12:12 PM, jhansirk jhansirk@thoughtworks.com wrote:

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/ 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@dhis2.org 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

On 09 Aug 2016, at 10:11, Prachi Srivastava prachisr@thoughtworks.com 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// 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
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org