diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 |