From 4a2d8a6c0cc7aad71ae1260fe89f271e75fe4f63 Mon Sep 17 00:00:00 2001 From: H-Shay Date: Tue, 21 Mar 2023 17:54:19 +0000 Subject: deploy: 96bcc5d9028e745df2f708c92b15e4e5bfc91328 --- v1.80.0/admin_api/version_api.html | 203 +++++++++++++++++++++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 v1.80.0/admin_api/version_api.html (limited to 'v1.80.0/admin_api/version_api.html') diff --git a/v1.80.0/admin_api/version_api.html b/v1.80.0/admin_api/version_api.html new file mode 100644 index 0000000000..c1cd34a48d --- /dev/null +++ b/v1.80.0/admin_api/version_api.html @@ -0,0 +1,203 @@ + + + + + + Server Version - Synapse + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + +
+
+ +
+ +
+ +

Version API

+

This API returns the running Synapse version and the Python version +on which Synapse is being run. This is useful when a Synapse instance +is behind a proxy that does not forward the 'Server' header (which also +contains Synapse version information).

+

The api is:

+
GET /_synapse/admin/v1/server_version
+
+

It returns a JSON body like the following:

+
{
+    "server_version": "0.99.2rc1 (b=develop, abcdef123)",
+    "python_version": "3.7.8"
+}
+
+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + \ No newline at end of file -- cgit 1.5.1