1
0
This commit is contained in:
clokep
2023-10-02 13:08:59 +00:00
parent c2b9ac7ac0
commit 8dfc086417
4 changed files with 12 additions and 10 deletions

View File

@@ -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">{
&quot;server_version&quot;: &quot;0.99.2rc1 (b=develop, abcdef123)&quot;,
&quot;python_version&quot;: &quot;3.7.8&quot;
&quot;server_version&quot;: &quot;0.99.2rc1 (b=develop, abcdef123)&quot;
}
</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>