dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #49534
Re: uploading file via API
Hi Vlad,
unfortunately this is not currently supported. I agree this makes total
sense and we can add support for this in the documents API resource.
I have written an issue here:
https://jira.dhis2.org/browse/DHIS2-1838
We can potentially backport to 2.27.
regards,
Lars
On Wed, Jun 14, 2017 at 6:03 PM, Vladimer Shioshvili <vshioshvili@xxxxxxxxx>
wrote:
> Hi Everyone,
>
> I am trying to figure out if it is possible to upload a file to analytics
> reporting (document) via API, rather than via UI (reports app).
>
> I can query and download via api/documents (https://docs.dhis2.org/2.27/
> en/developer/html/dhis2_developer_manual_full.html#
> webapi_viewing_analytical_resource_representations), which is good, but
> need uploading part as well.
>
> Any thoughts?
>
> Best,
> Vlad
>
> _______________________________________________
> 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/>
References