From 20648020aa5c606598db6ba5b5d85e7175c69829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 20 Oct 2017 01:13:06 +0200 Subject: [PATCH] admin-api: add property.GetDefault Add API call to get default property value, without resetting it. And without duplicating the logic behind it on the client side. As discussed here: https://github.com/QubesOS/qubes-manager/pull/44 --- services/admin-api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/admin-api.md b/services/admin-api.md index 5450cf3f..85ddf293 100644 --- a/services/admin-api.md +++ b/services/admin-api.md @@ -75,12 +75,14 @@ to set the policy using current mechanism. | `admin.label.Remove` | `dom0` | label | - | - | | `admin.property.List` | `dom0` | - | - | `\n` | | `admin.property.Get` | `dom0` | property | - | `default={True|False} `
`type={str|int|bool|vm|label} ` | +| `admin.property.GetDefault` | `dom0` | property | - | `type={str|int|bool|vm|label} ` | | `admin.property.Help` | `dom0` | property | - | `help` | | `admin.property.HelpRst` | `dom0` | property | - | `help.rst` | | `admin.property.Reset` | `dom0` | property | - | - | | `admin.property.Set` | `dom0` | property | value | - | | `admin.vm.property.List` | vm | - | - | `\n` | | `admin.vm.property.Get` | vm | property | - | `default={True|False} `
`type={str|int|bool|vm|label} ` | +| `admin.vm.property.GetDefault` | vm | property | - | `type={str|int|bool|vm|label} ` | | `admin.vm.property.Help` | vm | property | - | `help` | | `admin.vm.property.HelpRst` | vm | property | - | `help.rst` | | `admin.vm.property.Reset` | vm | property | - | - |