summaryrefslogtreecommitdiffstats
path: root/src/share/api/statistic-sample-age-set-all.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/statistic-sample-age-set-all.json')
-rw-r--r--src/share/api/statistic-sample-age-set-all.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/share/api/statistic-sample-age-set-all.json b/src/share/api/statistic-sample-age-set-all.json
new file mode 100644
index 0000000..83a60c1
--- /dev/null
+++ b/src/share/api/statistic-sample-age-set-all.json
@@ -0,0 +1,24 @@
+{
+ "access": "write",
+ "avail": "1.6.0",
+ "brief": [
+ "This command sets a time-based limit for all statistics. It takes a single integer parameter called duration."
+ ],
+ "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-age-set-all\",",
+ " \"arguments\": {",
+ " \"duration\": 1245",
+ " }",
+ "}"
+ ],
+ "description": "See <xref linkend=\"command-statistic-sample-age-set-all\"/>",
+ "name": "statistic-sample-age-set-all",
+ "support": [
+ "kea-dhcp4",
+ "kea-dhcp6"
+ ]
+}