mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-23 17:38:00 +00:00
api: add support for notes on backup groups
Stored in atomically-updated 'notes' file in backup group directory. Available via dedicated GET/PUT API calls, as well as the first line being included in list_groups (similar to list_snapshots). Signed-off-by: Stefan Reiter <s.reiter@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1e00eae767
commit
a5093db6f3
@ -380,6 +380,9 @@ pub struct GroupListItem {
|
|||||||
/// The owner of group
|
/// The owner of group
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub owner: Option<Authid>,
|
pub owner: Option<Authid>,
|
||||||
|
/// The first line from group "notes"
|
||||||
|
#[serde(skip_serializing_if="Option::is_none")]
|
||||||
|
pub comment: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[api(
|
#[api(
|
||||||
|
Loading…
Reference in New Issue
Block a user