[ovirt-devel] UI plugins using REST API

Keith Robertson kroberts at redhat.com
Tue Apr 29 17:17:17 UTC 2014


Are the REST libraries[1,2] being updated to point to the new URL by 
default?

[1] http://www.ovirt.org/Python-sdk
[2] http://www.ovirt.org/Java-sdk

Keith

On 4/29/14, 11:05 AM, Vojtech Szocs wrote:
> 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
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>



More information about the Devel mailing list