synapse.rest package

Module contents

class synapse.rest.ClientRestResource(hs)

Bases: synapse.http.server.JsonResource

Matrix Client API REST resource.

This gets mounted at various points under /_matrix/client, including:
  • /_matrix/client/r0

  • /_matrix/client/api/v1

  • /_matrix/client/unstable

  • etc

static register_servlets(client_resource, hs)