version_api.rst 556 B

12345678910111213141516171819202122
  1. Version API
  2. ===========
  3. This API returns the running Synapse version and the Python version
  4. on which Synapse is being run. This is useful when a Synapse instance
  5. is behind a proxy that does not forward the 'Server' header (which also
  6. contains Synapse version information).
  7. The api is::
  8. GET /_matrix/client/r0/admin/server_version
  9. including an ``access_token`` of a server admin.
  10. It returns a JSON body like the following:
  11. .. code:: json
  12. {
  13. "server_version": "0.99.2rc1 (b=develop, abcdef123)",
  14. "python_version": "3.6.8"
  15. }