Skip to content

Commit

Permalink
Update retrieve-cluster-backup JSON output schema
Browse files Browse the repository at this point in the history
Define the "single_node_cluster" attribute.
  • Loading branch information
DavidePrincipi committed Dec 16, 2024
1 parent d378d1c commit 1e41b61
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "Return info from cluster backup",
"examples": [
{
"single_node_cluster": true,
"cluster": "mycluster1",
"vpn": "cs1.leader.cluster0.gs.nethserver.net:55820",
"domains": 1,
Expand All @@ -13,12 +14,17 @@
],
"type": "object",
"required": [
"single_node_cluster",
"cluster",
"vpn",
"domains",
"backup_repositories"
],
"properties": {
"single_node_cluster": {
"type": "boolean",
"description": "If true, the backup refers to a cluster of a single node"
},
"cluster": {
"title": "Cluster label",
"description": "User defined cluster label, can be empty'",
Expand All @@ -40,4 +46,4 @@
"type": "integer"
}
}
}
}

0 comments on commit 1e41b61

Please sign in to comment.