summaryrefslogtreecommitdiffstats
path: root/src/share/api/statistic-sample-count-set-all.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/statistic-sample-count-set-all.json')
-rw-r--r--src/share/api/statistic-sample-count-set-all.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/share/api/statistic-sample-count-set-all.json b/src/share/api/statistic-sample-count-set-all.json
new file mode 100644
index 0000000..f4bbe2a
--- /dev/null
+++ b/src/share/api/statistic-sample-count-set-all.json
@@ -0,0 +1,24 @@
+{
+ "access": "write",
+ "avail": "1.6.0",
+ "brief": [
+ "This command sets a size-based limit for all statistics. It takes a single integer parameter called max-samples."
+ ],
+ "cmd-comment": [
+ "The server responds with a message about successfully set limits for all statistics, with a result of 0 indicating success, and an empty parameters field. If an error is encountered, the server returns a status code of 1 (error) and the text field contains the error description."
+ ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"statistic-sample-count-set-all\",",
+ " \"arguments\": {",
+ " \"max-samples\": 100",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-sample-count-set-all\"/>",
+ "name": "statistic-sample-count-set-all",
+ "support": [
+ "kea-dhcp4",
+ "kea-dhcp6"
+ ]
+}