about summary refs log tree commit diff stats
path: root/web/index.txt
diff options
context:
space:
mode:
Diffstat (limited to 'web/index.txt')
-rw-r--r--web/index.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/web/index.txt b/web/index.txt
new file mode 100644
index 0000000..d108168
--- /dev/null
+++ b/web/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