mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
9006ee36d1
* remove reference in comments to python3.6 * upgrade tox python env in script * bump python version in example for completeness * upgrade python version requirement in setup doc * upgrade necessary python version in __init__.py * upgrade python version in setup.py * newsfragment * drops refs to bionic and replace with focal * bump refs to postgres 9.6 to 10 * fix hanging ci * try installing tzdata first * revert change made in b979f336 * ignore new random mypy error while debugging other error * fix lint error for temporary workaround * revert change to install list * try passing env var * export debian frontend var? * move line and add comment * bump pillow dependency * bump lxml depenency * install libjpeg-dev for pillow * bump automat version to one compatible with py3.8 * add libwebp for pillow * bump twisted trunk python version * change suffix of newsfragment * remove redundant python 3.7 checks * lint
22 lines
473 B
Markdown
22 lines
473 B
Markdown
# 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:
|
|
|
|
```json
|
|
{
|
|
"server_version": "0.99.2rc1 (b=develop, abcdef123)",
|
|
"python_version": "3.7.8"
|
|
}
|
|
```
|