aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README19
1 files changed, 19 insertions, 0 deletions
diff --git a/README b/README
index 688d431..15b6b33 100644
--- a/README
+++ b/README
@@ -192,6 +192,25 @@ The default channel for communication with the ping903 daemon is the
HTTP socket open on localhost port 8080. Only GET requests are
allowed. The following endpoints are provided:
+** /id
+
+Identifies the running instance. On success, a JSON object with the
+following attributes is returned:
+
+- "package": string
+ The package name.
+
+- "version": string
+ Package version string.
+
+- "pid": number
+ PID of the running instance.
+
+** /id/ATTR
+
+ATTR is one of the attributes discussed above. Returned is the value
+of that attribute.
+
** /host/NAME
NAME is the IP address or hostname. The server will look up this

Return to:

Send suggestions and report system problems to the System administrator.