You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-spec/api
Travis Ralston 73958ecbff Document /event_auth and /query_auth
/event_auth is a fairly easy endpoint to determine the use case of. /query_auth is a little harder to investigate and has a fairly interesting purpose: it appears to be used for the sending server to admit defeat and shop around for the right auth chain, correcting it's own perspective as it goes.

/query_auth is based off the following research points in synapse:
* 43ecfe0b10/synapse/handlers/federation.py (L1947-L1990)
* 43ecfe0b10/synapse/handlers/federation.py (L2049-L2187)
* 43ecfe0b10/synapse/handlers/federation.py (L1716-L1761)
* 43ecfe0b10/synapse/federation/federation_server.py (L393-L446)
* https://github.com/matrix-org/synapse/blob/master/synapse/federation/transport/server.py#L482-L487
6 years ago
..
application-service Move TODO. field1, field2... -> fields... 6 years ago
client-server Merge pull request #1414 from matrix-org/anoa/third_party_cleanup 6 years ago
files fix for https://github.com/matrix-org/matrix-doc/issues/270 9 years ago
identity Add IS ping endpoint 7 years ago
push-gateway Add operationId to all endpoints of all APIs 7 years ago
server-server Document /event_auth and /query_auth 6 years ago
README README.rst: Add notes on how to build the spec 7 years ago
check_examples.py Revert giving get() a default 6 years ago
openapi_extensions.md Move TODO. field1, field2... -> fields... 6 years ago
package.json Reinstate validator.js 9 years ago
validator.js Provide doc-comments with makeHandler(); cleanup 7 years ago

README

This directory contains swagger-compatible representations of our APIs. See
the main README.rst for details on how to make use of them.