diff options
Diffstat (limited to 'src/share/api/config-get.json')
-rw-r--r-- | src/share/api/config-get.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/share/api/config-get.json b/src/share/api/config-get.json new file mode 100644 index 0000000..61c130e --- /dev/null +++ b/src/share/api/config-get.json @@ -0,0 +1,35 @@ +{ + "access": "read", + "avail": "1.2.0", + "brief": [ + "This command retrieves the current configuration used by the server. The configuration is essentially the same as the contents of the configuration file, but includes additional changes made by other commands and due to parameters' inheritance." + ], + "cmd-comment": [ + "This command takes no parameters." + ], + "cmd-syntax": [ + "{", + " \"command\": \"config-get\"", + "}" + ], + "name": "config-get", + "resp-syntax": [ + "{", + " \"result\": <integer>,", + " \"arguments\": {", + " <Dhcp4, Dhcp6, or Control-agent object>: <JSON configuration here> ", + " }", + "}" + ], + "resp-comment": [ + "Starting with Kea 2.4.0, the successful response contains an SHA256 digest of the configuration that was ", + "just retrieved. It might be used to determine if a configuration has been modified or not, possibly with the ", + "use of config-hash-get." + ], + "support": [ + "kea-dhcp4", + "kea-dhcp6", + "kea-dhcp-ddns", + "kea-ctrl-agent" + ] +} |