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-proposals/api
Travis Ralston d914c402e2 Improve the profile query to have more sane responses
This is a mix of Synapse and Dendrite behaviour, mostly Dendrite. Synapse returns `null` for field values that aren't set, however Dendrite just doesn't return them and instead opts for an empty object.

Further, synapse is lacking in error codes in this area. Dendrite does some additional validation on this API which introduces more errors for bad requests, instead of defaulting to empty objects/200 OK responses.

Likewise, Dendrite returns a 404 when the user is not found while Synapse returns 200 OK/empty object.
6 years ago
..
application-service Convert 3pn errors to new definition 6 years ago
client-server Merge remote-tracking branch 'matrix-org/master' into travis/better-errors 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 Improve the profile query to have more sane responses 6 years ago
README README.rst: Add notes on how to build the spec 7 years ago
check_examples.py Update the check_examples.py script to resolve references 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.