proxmox-backup/pbs-api-types/src
Christian Ebner a926803b92 api/api-types: refactor api endpoint version, add api types
Add a dedicated api type for the `version` api endpoint and helper
methods for supported feature comparison.
This will be used to detect api incompatibility of older hosts, not
supporting some features.

Use the new api type to refactor the version endpoint and set it as
return type.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2024-11-21 10:14:53 +01:00
..
tape api-types: add missing doc-comment description for api enums 2024-10-22 15:25:52 +02:00
acl.rs api types: define remote permissions and roles for push sync 2024-11-21 10:14:53 +01:00
ad.rs api: access: add routes for managing AD realms 2024-04-24 21:06:14 +02:00
crypto.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
datastore.rs api types: implement api type for BackupGroupDeleteStats 2024-11-21 10:14:53 +01:00
file_restore.rs pbs-api-types: add FileRestoreFormat type 2022-10-05 18:40:49 +02:00
jobs.rs api types: implement remote acl path method for sync job 2024-11-21 10:14:53 +01:00
key_derivation.rs api types: rust fmt 2022-04-10 18:00:18 +02:00
ldap.rs fix typos in strings 2024-08-07 16:49:31 +02:00
lib.rs api/api-types: refactor api endpoint version, add api types 2024-11-21 10:14:53 +01:00
maintenance.rs maintenance: derive Copy for maintenance type and make maintenance mode fields public 2024-04-22 12:19:22 +02:00
metrics.rs pbs-api-types: add types for the new metrics endpoint 2024-10-15 14:09:41 +02:00
network.rs config: write vlan network interface 2024-04-24 21:48:50 +02:00
node.rs node: status: declutter kernel-version 2023-11-29 15:31:35 +01:00
openid.rs fix #5190: api: OIDC: accept generic URIs for the ACR value 2024-02-08 18:14:30 +01:00
percent_encoding.rs move pbs-tools/src/percent_encoding.rs to pbs-api-types/src/percent_encoding.rs 2021-11-25 11:48:52 +01:00
remote.rs api-types: add a missing serde(default) 2023-12-06 15:53:57 +01:00
traffic_control.rs fix #5622: backup client: properly handle rate/burst parameters 2024-08-30 13:21:29 +02:00
user.rs api-types: set serde defaults for UserWithTokens 2023-08-01 09:12:43 +02:00
version.rs api/api-types: refactor api endpoint version, add api types 2024-11-21 10:14:53 +01:00
zfs.rs api-types: clippy fixes 2022-07-27 13:29:32 +02:00