deploy: 5725712d47
This commit is contained in:
@@ -147,8 +147,8 @@
|
||||
</div>
|
||||
|
||||
<h1 id="version-api"><a class="header" href="#version-api">Version API</a></h1>
|
||||
<p>This API returns the running Synapse version and the Python version
|
||||
on which Synapse is being run. This is useful when a Synapse instance
|
||||
<p>This API returns the running Synapse version.
|
||||
This is useful when a Synapse instance
|
||||
is behind a proxy that does not forward the 'Server' header (which also
|
||||
contains Synapse version information).</p>
|
||||
<p>The api is:</p>
|
||||
@@ -156,10 +156,11 @@ contains Synapse version information).</p>
|
||||
</code></pre>
|
||||
<p>It returns a JSON body like the following:</p>
|
||||
<pre><code class="language-json">{
|
||||
"server_version": "0.99.2rc1 (b=develop, abcdef123)",
|
||||
"python_version": "3.7.8"
|
||||
"server_version": "0.99.2rc1 (b=develop, abcdef123)"
|
||||
}
|
||||
</code></pre>
|
||||
<p><em>Changed in Synapse 1.94.0:</em> The <code>python_version</code> key was removed from the
|
||||
response body.</p>
|
||||
|
||||
</main>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user