API: variables
GET /api/hosts/{host_id}/variables#
Read
Permission hosts.read (look)
Parameters
host_id * | path | string (uuid) |
Response 200
PUT /api/hosts/{host_id}/variables#
Replace
Replace this host's variables with exactly the given set.
Permission hosts.prepare (prepare)
Parameters
host_id * | path | string (uuid) |
Request body VariablesUpdate
Show 2 fields
| Field | Type | Notes |
|---|---|---|
expected_version | string | null | |
variables | map<string, string> |
Response 200
GET /api/interface-roles#
List Roles
Every interface role in use anywhere: name -> {host name: interface identifier}. Feeds the interface choice of the forms.
Permission hosts.read (look)