proxmox/pbs-api-types/src
Christian Ebner d70f6d9f09 api: admin/config: introduce sync direction as job config parameter
Add the sync direction for the sync job as optional config parameter
and refrain from using the config section type for conditional
direction check, as they are now the same (see previous commit).

Use the configured sync job parameter instead of passing it to the
various methods as function parameter and only filter based on sync
direction if an optional api parameter to distingush/filter based on
direction is given.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
2024-11-26 16:00:40 +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: add missing conf to blob archive name mapping 2024-11-26 13:28:17 +01:00
file_restore.rs pbs-api-types: add FileRestoreFormat type 2022-10-05 18:40:49 +02:00
jobs.rs api: admin/config: introduce sync direction as job config parameter 2024-11-26 16:00:40 +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: enforce minimum character limit of 8 on new passwords 2024-11-25 15:51:47 +01:00
maintenance.rs maintenance: add 'Unmount' maintenance type 2024-11-25 21:34:22 +01: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
pathpatterns.rs api types: replace PathPatterns with Vec<PathPattern> 2024-11-25 12:28:40 +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 version: remove named features 2024-11-21 11:53:49 +01:00
zfs.rs api-types: clippy fixes 2022-07-27 13:29:32 +02:00