summaryrefslogtreecommitdiffstats
path: root/src/share/api/config-hash-get.json
blob: b3cf17df4f9f9a4bf54fab518fafac4a5066da4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
    "access": "read",
    "avail": "2.4.0",
    "brief": [
        "This command retrieves the hash of 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.",
        "Currently it is SHA256, but the algorithm may change in the future."
    ],
    "cmd-comment": [
        "This command takes no parameters."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"config-hash-get\"",
        "}"
    ],
    "name": "config-hash-get",
    "resp-syntax": [
        "{",
        "    \"result\": <integer>,",
        "    \"arguments\": {",
        "        \"hash\": <SHA256 hash of the config in hexa> ",
        "    }",
        "}"
    ],
    "support": [
        "kea-dhcp4",
        "kea-dhcp6",
        "kea-dhcp-ddns",
        "kea-ctrl-agent"
    ]
}