[pve-devel] [PATCH storage] volume import: assume target API version is at least 9

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Jul 5 09:45:09 CEST 2024


Am 04/07/2024 um 14:11 schrieb Fiona Ebner:
> Yes, next time we introduce an apiinfo call, we can just have it fail
> hard upon errors.

Oh, and just to avoid potential future error potential here:
For a new topic-specific API version call that might not work, as the fallback
and (lacking) error handling here was added explicitly for backward
<compatibility.

Also, for a future topic-API version info call a new central API endpoint
would be preferable. That we could more easily expand for various different
internal API versioning and have central tooling to query it correctly,
which would be simpler too as one can nicely differentiate auth/network/..
errors from an actual application level one, like 404 not found.




More information about the pve-devel mailing list