<div dir="ltr"><br clear="all"><div>Hi,</div><div>I&#39;m looking at <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1228641" style="color:rgb(102,153,204);text-decoration:none;font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif">Bug 1228641</a><span style="color:rgb(0,0,0);font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif;background-color:rgb(208,208,208)"> -</span><span id="summary_alias_container" style="color:rgb(0,0,0);font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif"> <span id="short_desc_nonedit_display">[RFE] Switch from XML-RPC to JSON-RPC API </span></span><span style="color:rgb(0,0,0);font-family:&#39;DejaVu Sans&#39;,&#39;Liberation Sans&#39;,sans-serif">and I&#39;m searching google about &quot;vdsm json rpc API documentation&quot; without success.</span></div><div><font color="#000000" face="DejaVu Sans, Liberation Sans, sans-serif"><br></font></div><div><font color="#000000" face="DejaVu Sans, Liberation Sans, sans-serif">I&#39;ve seen /usr/share/doc/vdsm-jsonrpc/vdsm-api.html shipped within vdsm-jsonrpc rpm but it doesn&#39;t explain how to use the api.</font></div><div><br></div>/usr/lib/python2.7/site-packages/vdsmapi.py looks useless<div><br></div><div>/usr/share/vdsm/rpc/ are not public API but something only vdsm process should use.<br></div><div><br></div><div>The feature pages <a href="http://www.ovirt.org/Features/Design/JsonRpc3.5">http://www.ovirt.org/Features/Design/JsonRpc3.5</a> and  <a href="http://www.ovirt.org/Features/Design/JsonRpc">http://www.ovirt.org/Features/Design/JsonRpc</a> are incomplete or outdated and miss proper testing section specifying how to test the API.</div><div><br></div><div>VDSM API pages are outdated or incomplete:</div><div><a href="http://www.ovirt.org/Vdsm_API">http://www.ovirt.org/Vdsm_API</a><br></div><div><a href="http://www.ovirt.org/VDSM_Stable_API_Plan">http://www.ovirt.org/VDSM_Stable_API_Plan</a><br></div><div><a href="http://www.ovirt.org/Vdsm_API_Schema">http://www.ovirt.org/Vdsm_API_Schema</a><br></div><div><br></div><div>Any hint on how to use VDSM JSON RPC API anywhere?<br></div><div>Can someone please write a clear VDSM API reference documentation?</div><div><br></div><div>Piotr, as a kickstart, can you give me a code sample for connecting to vdsm and call getVdsCaps using jsonrpc?</div><div><br></div><div>Thanks,</div><div><br></div><div><div>-- </div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Sandro Bonazzola<br>Better technology. Faster innovation. Powered by community collaboration.<br>See how it works at <a href="http://redhat.com" target="_blank">redhat.com</a><br></div></div></div></div>
</div></div>