]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Add new file
authorSuzanne Goldlust <sgoldlust@isc.org>
Thu, 4 Oct 2018 19:23:12 +0000 (15:23 -0400)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 29 Oct 2019 17:57:13 +0000 (18:57 +0100)
doc/api/statistic-get.json [new file with mode: 0644]

diff --git a/doc/api/statistic-get.json b/doc/api/statistic-get.json
new file mode 100644 (file)
index 0000000..70dcb92
--- /dev/null
@@ -0,0 +1,14 @@
+{
+    "name": "statistic-get",
+    "brief": "The statistic-get command retrieves a single statistic. It takes a single string parameter called name that specifies the statistic name.",
+    "description": "See <xref linkend=\"command-statistic-get\"/>",
+    "support": [ "kea-dhcp4", "kea-dhcp6" ],
+    "avail": "1.0.0",
+    "cmd-syntax": "{
+    \"command\": \"statistic-get\",
+    \"arguments\": {
+        \"name\": \"pkt4-received\"
+    }
+}",
+    "cmd-comment": "The server will respond with details of the requested statistic, with a result set to 0 indicating success and the specified statistic as the value of the "arguments" parameter.",
+}
\ No newline at end of file