diff --git a/services/admin-api.md b/services/admin-api.md new file mode 100644 index 00000000..871b0dcb --- /dev/null +++ b/services/admin-api.md @@ -0,0 +1,187 @@ +--- +layout: doc-full +title: Admin API +permalink: /doc/admin-api/ +redirect_from: +- /doc/mgmt/ +- /doc/mgmt1/ +--- + +# Admin API + +*(This page is the current draft of the proposal. It is not implemented yet.)* + +The API should be implemented as a set of qrexec calls. This is to make it easy +to set the policy using current mechanism. + +## The calls + +| call | dest | argument | inside | return | note | +| ------------------------------------- | --------- | --------- | ----------------------------------------- | --------------------------------------------------------- | ---- | +| `admin.vmclass.List` | `dom0` | - | - | `\n` | +| `admin.vm.List` | `dom0|` | - | - | ` class= state=\n` | +| `admin.vm.Create.` | `dom0` | template | `name= label=