summaryrefslogtreecommitdiff
path: root/www/json-api/api-version.md
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
committercashmere <cashmere@autistici.org>2026-09-04 09:05:24 +0200
commit4f49b16079b27d7ce633619e4cddfdf2bffbc952 (patch)
treec296c1e7f3c3e2f6859c6d3a1b1b208779b89679 /www/json-api/api-version.md
downloadrelic-4f49b16079b27d7ce633619e4cddfdf2bffbc952.tar.gz
initial commitHEADmaster
Diffstat (limited to 'www/json-api/api-version.md')
-rw-r--r--www/json-api/api-version.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/www/json-api/api-version.md b/www/json-api/api-version.md
new file mode 100644
index 0000000..ab321b6
--- /dev/null
+++ b/www/json-api/api-version.md
@@ -0,0 +1,32 @@
+# JSON API: /version
+([&#x2b11;JSON API Index](index.md))
+
+# Version (a.k.a. HAI)
+
+**Status:** implemented
+
+**Required privileges:** none
+
+**Requests:**
+
+- `/json/version`
+- `/json/HAI` (alias borrowed from LOLCATZ jargon)
+
+**Response payload example:**
+
+```json
+{
+"manifestUuid":"20ff808f9809541d2eca6c49a17d5cbd16e1b93f",
+"manifestVersion":"[20ff808f98]",
+"manifestDate":"2011-09-09 16:49:23",
+"manifestYear":"2011",
+"releaseVersion":"1.19",
+"releaseVersionNumber":119,
+"jsonApiVersion": "YYYYMMDD" // added 20120409
+}
+```
+
+Those particular payload fields were chosen only because they're defined
+in `VERSION.h`. We may want to add other information, but nothing comes to
+mind at this time.
+