← Back to team overview

dhis2-devs team mailing list archive

Re: API

 

If you go to /api/charts/, don't you see all of the charts currently
available?

For instance, on the demo (
https://apps.dhis2.org/demo/api/charts/UlfTKWZWV4u) you get back lots of
information. Is this not what you are looking for? Maybe if you can be more
specific, we can help you out further.

Regards,
Jason

On Thu, Nov 6, 2014 at 12:35 PM, Jerome Shaguy <jeromeshaguy@xxxxxxxxx>
wrote:

> Something like this: api/charts/vUNvXxWssaJ
>
>
>
> On Thu, Nov 6, 2014 at 12:34 PM, Jason Pickering <
> jason.p.pickering@xxxxxxxxx> wrote:
>
>> What do you mean "API particulars"?
>>
>> I thought really you just wanted to be able to sort of navigate through
>> the API, as was previously possible with the HMTL rendering, but maybe we
>> call misunderstood?
>>
>> Regards,
>> Jason
>>
>>
>> On Thu, Nov 6, 2014 at 12:28 PM, Jerome Shaguy <jeromeshaguy@xxxxxxxxx>
>> wrote:
>>
>>> Hi Jason,
>>>
>>> I've just installed XML Tree, What I am looking for is the API
>>> particulars so that I can retrieve it and use it in an HTML report. I have
>>> not seen that in this XML Tree, do you know if this is supported?
>>>
>>> On Thu, Nov 6, 2014 at 12:06 PM, Jerome Shaguy <jeromeshaguy@xxxxxxxxx>
>>> wrote:
>>>
>>>> Thanks a lot Jason, serves me right for not following threads faithfully
>>>> [?]
>>>>
>>>> On Thu, Nov 6, 2014 at 11:49 AM, Jason Pickering <
>>>> jason.p.pickering@xxxxxxxxx> wrote:
>>>>
>>>>> There have been several mails about this on the list already.
>>>>>
>>>>> I would suggest you install "XMLTree" as an extension, and it will
>>>>> allow you to view the XML, pretty much the same as it was before. There was
>>>>> another alternative mentioned a while back as well, so just look in the
>>>>> Chome store for things to render XML as viewable HTML in your browser if
>>>>> you do not like this one.
>>>>>
>>>>> Regards,
>>>>> Jason
>>>>>
>>>>>
>>>>> On Thu, Nov 6, 2014 at 11:44 AM, Jerome Shaguy <jeromeshaguy@xxxxxxxxx
>>>>> > wrote:
>>>>>
>>>>>> Thanks Lars, I was actually speaking about HTML - support. I will get
>>>>>> back to you with this.
>>>>>>
>>>>>> On Thu, Nov 6, 2014 at 11:37 AM, Lars Kristian Roland <lars@xxxxxxxxx
>>>>>> > wrote:
>>>>>>
>>>>>>> It's also available in JSON for example, but you have to add .json
>>>>>>> behind the URL. Were you thinking of the html-support? I thnk the
>>>>>>> HTML-support was a bit problematic. We have some student projects working
>>>>>>> on apps that map the API into more readable HTML-pages. If you have input
>>>>>>> to good features for those students to implement as part of those projects,
>>>>>>> that'd be excellent. What would be useful to have in such an
>>>>>>> HTML-API-browsing-App?
>>>>>>>
>>>>>>> The student projects are part of a course at UIO. Their deadline in
>>>>>>> December, and since these are student projects, we don't expect them all to
>>>>>>> be 100%, but of last year's projects several made it to the app store and
>>>>>>> more specific projects.
>>>>>>>
>>>>>>> We have 100 students working on app projects, and here's the list of
>>>>>>> current projects (there are several groups on each task):
>>>>>>>
>>>>>>> Web API HTML-view browserData element bulk editorTouch-based
>>>>>>> messaging appInterpretation to facebookFacility registry appDHIS
>>>>>>> quiz appTools for quality insuranceAcademy connector
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Lars
>>>>>>>
>>>>>>> 2014-11-06 11:31 GMT+01:00 Jerome Shaguy <jeromeshaguy@xxxxxxxxx>:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Does anyone know why the API is currently only available in XML? I
>>>>>>>> am using 2.17-SNAPSHOT.
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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 Kristian Roland
>>>>>>> Research Fellow, Department of Informatics, University of Oslo
>>>>>>> Email: lars@xxxxxxxxx - roland@xxxxxxxxxx
>>>>>>> Phone: +47 90733036
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Jason P. Pickering
>>>>> email: jason.p.pickering@xxxxxxxxx
>>>>> tel:+46764147049
>>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.pickering@xxxxxxxxx
>> tel:+46764147049
>>
>
>


-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049

GIF image


Follow ups

References