[ovirt-devel] UI plugins using REST API

Vojtech Szocs vszocs at redhat.com
Tue Apr 29 15:05:17 UTC 2014


Hi guys,

just a quick note on UI plugin vs. REST API integration,
there are currently two ways to work with REST API:

* (standard) /ovirt-engine/api
* (legacy)   /api

Please don't use the legacy URL, since "sessionId" that
is acquired via RestApiSessionAcquired event handler [1]
works only for the standard URL.

(Also, don't forget to include "Prefer:persistent-auth"
header when making calls that shouldn't close the session.)

[1] http://www.ovirt.org/Features/UIPlugins#REST_API_integration

Regards,
Vojtech



More information about the Devel mailing list