Hi Team, I want to attach the disk using the oVIrt rest API, I use the version* 4.2* and completed my script. But when I downgrade my oVirt to lower version *4.1*, I get the following error.
detail: 'For correct usage, see: https://X.X.99.84/ovirt-engine/api/v4/model#services/disk-attachments/methods/add',\n reason: 'Request syntactically incorrect.',\n error: 'For correct usage, see: https://X.X.99.84/ovirt-engine/api/v4/model#services/disk-attachments/methods/add ',\n *Reason*: I added an extra parameter called 'isSharable' which is not expected in this API. *So Is there a way to Ignore the extra parameters sent for oVirt API?* *Example :* *Expected :* *{* * "a" : "1"* *}* *I sent :* *{* * "a" : "1",* * "b" : "2"* *}* *My expectation is, Ignore the "b" and the API should work, Is there a flag in oVirt API which ignores the extra parameters? * Thanks, Hari
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/3KQOHNPY56WRYA7GPRCVEKIGOVDV66AM/