Skip to content

Conversation

@kernel-sanders
Copy link
Contributor

Querying pools by path value (/pools/{poolid}) is deprecated and the new way is by query parameter (/pools/?poolid={poolid}). This supports nested pools. As the return value of /pools/ is always an array, the Pool function was modified to extract the single pool result and return it.

Old endpoint docs showing deprecation: https://pve.proxmox.com/pve-docs/api-viewer/#/pools/{poolid}
New endpoint docs: https://pve.proxmox.com/pve-docs/api-viewer/#/pools

Querying pools by path value (/pools/{poolid}) is deprecated and the new way is by query parameter (/pools/?poolid={poolid}). This supports nested pools. As the return value of /pools/ is always an array, the Pool function was modified to extract the single pool result and return it.

Signed-off-by: Erik [Bad Sector Labs] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant