From 7b3db3fa1753888650e258fa889a913b94e67790 Mon Sep 17 00:00:00 2001 From: Sayan Nandan Date: Tue, 29 Mar 2022 14:33:25 +0530 Subject: [PATCH] Add sys actiondoc --- actiondoc.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/actiondoc.yml b/actiondoc.yml index df5ef788..2372f97c 100644 --- a/actiondoc.yml +++ b/actiondoc.yml @@ -129,6 +129,30 @@ global: Returns a string with the AuthID of the currently logged in user or errors if the user is not logged in return: [String] + - name: SYS + desc: | + Get system information and metrics + subactions: + - name: INFO + complexity: O(1) + accept: [AnyArray] + syntax: [sys info ] + return: [String, Float] + desc: | + Returns static properties of the system, i.e properties that do not change during runtime. + The following properties are available: + - `version`: Returns the server version (String) + - `protocol`: Returns the protocol version string (String) + - `protover`: Returns the protocol version (float) + - name: METRIC + complexity: O(1) + accept: [AnyArray] + syntax: [sys metric ] + return: [String, Float] + desc: | + Returns dynamic properties of the system, i.e metrics are properties that can change during + runtime. The following metrics are available: + - `health`: Returns "good" or "critical" depending on the system state (String) keyvalue: generic: