dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #05122
Re: [Dhis2-devs] API resources navigation
Dear Jason,
For restfull client editor i never relay on Chrome plugins, rather i
relay on only potentially recomended Fire Fox plugins like you can
find on
http://restclient.net/
Regards
Brajesh
On 8/26/14, Jason Pickering <jason.p.pickering@xxxxxxxxx> wrote:
> OK, so would you like to share these with the group?
>
>
> On Tue, Aug 26, 2014 at 3:59 PM, Brajesh Murari <brajjeshmurari@xxxxxxxxx>
> wrote:
>
>> Jason, I know number of such plugins and tools for this work.
>>
>> Thanks
>> Brajesh
>>
>> On 8/26/14, Jason Pickering <jason.p.pickering@xxxxxxxxx> wrote:
>> > There are a number of extensions to Chrome which help with this. I
>> > personally use "XMLTree" although this is not an endorsement of this
>> > plugin. You can search the Chrome store for many such add-ons.
>> >
>> > Best regards,
>> > Jason
>> >
>> >
>> >
>> > On Mon, Aug 25, 2014 at 9:14 PM, Brajesh Murari <
>> brajjeshmurari@xxxxxxxxx>
>> > wrote:
>> >
>> >> Dear Maheed,
>> >>
>> >> Research & development of restful web services and its integration in
>> >> existing DHIS2 frameworks begins with an empirical case study for
>> >> providing
>> >> solution to a very complex use case scenario in which one slandered
>> >> statical application developed inside certain environment running on
>> >> certain platform on certain virtual machine with certain attached
>> >> database
>> >> with certain object relational data base schema can communicate with
>> >> another similar statical application developed in different
>> >> environment
>> >> running on different platform on different virtual machine with
>> different
>> >> data base with different object relational schema.
>> >>
>> >> Here in DHIS2, we achieved solution for this complex scenario by
>> >> developing
>> >> an intermediate middle-ware application programme interface or we can
>> say
>> >> like an intermediate component like DHIS2 WEB-API or more simply we
>> >> can
>> >> say
>> >> like a connector which brings an intermediate interface from where
>> >> DHIS2
>> >> can communicate with other similar statical application or multiple
>> >> applications like one to one or one to many relationship.
>> >>
>> >> Interesting thing in DHIS2 WEB-API brings intermediate communication
>> >> between another multiple applications, and for that it follow certain
>> >> rules
>> >> and regulation which we can say like protocol for communication like
>> >> http,ftp,sftp etc and on the top of these protocol these multiple
>> >> statical
>> >> applications interact with each other and exchange some data as per
>> >> the
>> >> request in the form of expected representational state like
>> >> json,xml,cvs,atom etc with each other and this way we solve these
>> complex
>> >> issues.
>> >>
>> >> Perhaps, I think as per your request and query which evolves with two
>> >> different aspects in which one addresses issue for understanding and
>> >> doing
>> >> certain DHIS2 application programme interface analytical study for
>> >> that
>> >> you
>> >> are looking to access demo web-api with certain request with data and
>> >> another you have find some result as response in certain format of
>> >> data
>> >> that you seems might be not as expected and has been addressed as an
>> >> web-appl bug.
>> >>
>> >> If i am right, than for your first query, i think DHIS2 restful
>> >> web-api
>> >> services is not as the exact tool for doing this analytical study.
>> >> Rather,
>> >> you can take a help of DHIS2-API documentation, please find as i have
>> >> attached in the attachment. And second, it returns with some data in
>> >> the
>> >> form of response after sending some http request, which does't brings
>> >> data
>> >> as should be expected and might be treated as bug in existing
>> >> functionality
>> >> and should be resolved in up-comming releases.
>> >>
>> >> Brajesh
>> >>
>> >>
>> >> From: Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>> >>
>> >> > Date: Mon, 25 Aug 2014 16:17:58 +0100
>> >> > Subject: Re: [Dhis2-users] [Dhis2-devs] API resources navigation
>> >> > To: Knut Staring <knutst@xxxxxxxxx>
>> >> > Cc: dhis2-users <dhis2-users@xxxxxxxxxxxxxxxxxxx>,
>> >> > "dhis2-devs@xxxxxxxxxxxxxxxxxxx" <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
>> >> >
>> >> > Yes that will be nice. I also miss the api navigation ... didn't
>> >> > realize
>> >> > how much I used it till it went :-(
>> >> >
>> >> >
>> >> > On 25 August 2014 15:08, Knut Staring <knutst@xxxxxxxxx> wrote:
>> >> >
>> >> > > Hi Maheed,
>> >> > > This is intentional. We do agree that the previous interface was
>> much
>> >> > > easier to navigate, but it had other issues that needed fixing.
>> >> > > We
>> >> hope
>> >> > > someone can create a nice App with as nice (or even nicer)
>> navigation
>> >> as
>> >> > > before - probably it could be a student project this fall.
>> >> > >
>> >> > > Knut
>> >> > >
>> >> > >
>> >> > > On Mon, Aug 25, 2014 at 2:13 PM, Maheed Ramadan
>> >> > > <maheed.ramadan@xxxxxx
>> >> >
>> >> > > wrote:
>> >> > >
>> >> > >> Dear All,
>> >> > >>
>> >> > >>
>> >> > >> I have the latest version of DHIS 2.16 and I am trying to access
>> the
>> >> > >> api/resources endpoint in my browser and the following result is
>> >> > displaying:
>> >> > >>
>> >> > >>
>> >> > >> In the previous version 2.15, the API result was a formatted HTML
>> >> > >> page
>> >> > >> where you can actually navigate the links and view the details of
>> >> > >> each
>> >> > API
>> >> > >> easily.
>> >> > >>
>> >> > >> Even the demo version at è
>> https://apps.dhis2.org/demo/api/resources
>> >> is
>> >> > >> showing the same result.
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >> I also tried to access the web api from Excel è
>> >> > >> https://apps.dhis2.org/demo/api/resources.json , and it is
>> returning
>> >> > the
>> >> > >> following error :
>> >> > >>
>> >> > >> DataFormat.Error: Expected value, found '<'.
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >> Is this a bug in DHIS 2.16 or am I missing something here?
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >> Awaiting your feedback.
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >> Thank you.
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >> Maheed
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >> _______________________________________________
>> >> > >> Mailing list: https://launchpad.net/~dhis2-users
>> >> > >> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> >> > >> Unsubscribe : https://launchpad.net/~dhis2-users
>> >> > >> More help : https://help.launchpad.net/ListHelp
>> >> > >>
>> >> > >>
>> >> > >
>> >> > >
>> >> > > --
>> >> > > Knut Staring
>> >> > > Dept. of Informatics, University of Oslo
>> >> > > +4791880522
>> >> > > http://dhis2.org
>> >> > >
>> >> > > _______________________________________________
>> >> > > 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
>> >> > >
>> >> > >
>> >> >
>> >>
>> >> _______________________________________________
>> >> Mailing list: https://launchpad.net/~dhis2-users
>> >> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> >> Unsubscribe : https://launchpad.net/~dhis2-users
>> >> More help : https://help.launchpad.net/ListHelp
>> >>
>> >>
>> >
>>
>
References