diff options
Diffstat (limited to 'static/index.txt')
-rw-r--r-- | static/index.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/static/index.txt b/static/index.txt new file mode 100644 index 0000000..d108168 --- /dev/null +++ b/static/index.txt @@ -0,0 +1,28 @@ +This is the tilde.institute informational API + +Not finished. Currently planning: + + / + - Information on endpoints and purpose + + /[plain|json] + - Response formats + + /$FMT/osversion + - OpenBSD version + + /$FMT/pkgs + - Installed packages + + /$FMT/query + ?pkg=[a-zA-Z0-9+] + - Check if a package is installed. + + /$FMT/uptime + - Uptime and Load + + /$FMT/usercount + - Number of registered user accounts + + /$FMT/users + - List of users (maybe CSV for plaintext?) and ancillary information |