Skip to content

Comments

Patch PVE-9 API types#2

Merged
dlucredativ merged 2 commits intomainfrom
patches
Feb 2, 2026
Merged

Patch PVE-9 API types#2
dlucredativ merged 2 commits intomainfrom
patches

Conversation

@dlucredativ
Copy link
Contributor

  • api.nodes.get()[.]: Added disk and maxdisk fields.
  • api.pools(.).get()["members"][.]: Added name field.
  • api.nodes(.).qemu(.).migrate.get(): Returned dict values have types as documented, not the dict itself.
  • api.nodes(.).apt.repositories.get()["infos"][.]["index"]: Corrected from str to int.
  • api.cluster.ha.rules.get()[.]: Added nodes, resources, type properties.
  • api.nodes(.).rrddata.get()[.] is declared as dict from str to float.
  • api.nodes(.).qemu.get()[.]: Added a disk property.

- `api.nodes.get()[.]`: Added  `disk` and `maxdisk` fields.
- `api.pools(.).get()["members"][.]`:  Added `name` field.
- `api.nodes(.).qemu(.).migrate.get()`: Returned `dict` values have
  types as documented, not the `dict` itself.
- `api.nodes(.).apt.repositories.get()["infos"][.]["index"]`:
   Corrected from `str` to `int`.
- `api.cluster.ha.rules.get()[.]`: Added `nodes`, `resources`, `type` properties.
- `api.nodes(.).rrddata.get()[.]` is declared as `dict` from `str` to `float`.
- `api.nodes(.).qemu.get()[.]`: Added a `disk` property.
@dlucredativ dlucredativ merged commit 67f0ec1 into main Feb 2, 2026
4 checks passed
@dlucredativ dlucredativ deleted the patches branch February 2, 2026 16:08
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