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)