diff options
Diffstat (limited to 'src/share/api/config-get.json')
-rw-r--r-- | src/share/api/config-get.json | 30 |
1 files changed, 30 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..3a49afb --- /dev/null +++ b/src/share/api/config-get.json @@ -0,0 +1,30 @@ +{ + "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> ", + " }", + "}" + ], + "support": [ + "kea-dhcp4", + "kea-dhcp6", + "kea-dhcp-ddns", + "kea-ctrl-agent" + ] +} |