← Back to team overview

dhis2-devs team mailing list archive

Re: mydatamart and api

 

> I'd like to shift this action into the web-api both because (i) using
> basic auth will be so much easier and (ii) that is probably where it
> should be anyway.  What do you think?

I think it sounds like a good idea! (and another use-case for the web-api!)

> The urls are not beautifully restful like some of the rest, but I am
> open to suggestion.  Currently they look something like eg:
>
> http://apps.dhis2.org/demo/dhis-web-reporting/exp/monthlyDataValues.action
> http://apps.dhis2.org/demo/dhis-web-reporting/exp/weeklyIndicatorValues.action
>
> with post parameters:
> "dataSourceLevel=4&dataSourceRoot=539&startDate=20110201&endDate=20120528"
>
> (note the use of internal ids for orgunits - currently we do not store
> uids in the local datamart)

Would it be possible to use the dataValues part of the web-api? if we
extend it? or do you require very special meta-data? (will you be
using /api/metaData for that part?)

--
Morten

> Cheers
> Bob


Follow ups

References