|
|
@ -432,13 +432,7 @@ Common concepts
|
|
|
|
Various things are common throughout all of the Matrix APIs. They are
|
|
|
|
Various things are common throughout all of the Matrix APIs. They are
|
|
|
|
documented here.
|
|
|
|
documented here.
|
|
|
|
|
|
|
|
|
|
|
|
Trailing slashes on API endpoints
|
|
|
|
.. TODO: Some words about trailing slashes. See https://github.com/matrix-org/matrix-doc/issues/2107
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unless the endpoint is explicltly specified to have a trailing slash, the
|
|
|
|
|
|
|
|
slash is optional. For example, an endpoint specified as ``/_matrix/example/``
|
|
|
|
|
|
|
|
would require a trailing slash, however an endpoint specified as ``/_matrix/example``
|
|
|
|
|
|
|
|
has an optional slash (can be excluded when making requests).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Namespacing
|
|
|
|
Namespacing
|
|
|
|
~~~~~~~~~~~
|
|
|
|
~~~~~~~~~~~
|
|
|
|