Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kapua-dev] REST API vs Web UI

Thank you Claudio.

I'm not sure what kapua_server_address in http://<kapua_server_address>/api/doc is :) Do you mean API server process address? So Swagger API is exposed on http://api-server:8080/api/doc ?


What is the proper URL to get access to REST API docs then?

sob., 18 mar 2017 o 17:54 użytkownik Mezzasalma, Claudio <Claudio.Mezzasalma@xxxxxxxxxxxx> napisał:

Yes, it’s totally correct. The GWT console uses its own RPC calls and not our REST APIs; the Patternfly console, in the other hand, uses only REST calls, but unfortunately it only covers a few calls about Devices and Users currently. However, by opening http://<kapua_server_address>/api/doc you can see the updated Swagger documentation for all the methods currently available (maybe some of the new datastore REST APIs are missing, I can’t recall whether they have been already merged or not).

 

Hope this helps!

 

-- 

Claudio Mezzasalma | Eurotech

 

Da: <kapua-dev-bounces@xxxxxxxxxxx> per conto di Henryk Konsek <hekonsek@xxxxxxxxx>
Risposta: kapua developer discussions <kapua-dev@xxxxxxxxxxx>
Data: venerdì 17 marzo 2017 18:33
A: kapua developer discussions <kapua-dev@xxxxxxxxxxx>
Oggetto: [kapua-dev] REST API vs Web UI

 

Hi,

 

I wanted to play a bit with our REST API and document it. To be exact I'd like to list events associated with a given device. I attempted to reverse engineer communication used by web UI to see what REST calls it performs. But I see that apparently our UI uses some GWT-specific calls, not our REST API - is that correct? (see attachments)

 

Cheers!


apua-ui.png

_______________________________________________
kapua-dev mailing list
kapua-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kapua-dev
--
Henryk Konsek

Attachment: image001.png
Description: PNG image

Attachment: image001.png
Description: PNG image


Back to the top