version_api.rst 500 B

1234567891011121314151617181920
  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 /_synapse/admin/v1/server_version
  9. It returns a JSON body like the following:
  10. .. code:: json
  11. {
  12. "server_version": "0.99.2rc1 (b=develop, abcdef123)",
  13. "python_version": "3.6.8"
  14. }