matrix-spec/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.
2018-07-26 08:40:39 -06:00
..
application-service Convert 3pn errors to new definition 2018-07-12 12:16:11 -06:00
client-server Merge remote-tracking branch 'matrix-org/master' into travis/better-errors 2018-07-18 08:28:16 -06:00
files fix for https://github.com/matrix-org/matrix-doc/issues/270 2016-02-16 11:01:04 +00:00
identity Add IS ping endpoint 2018-02-27 17:54:42 +01:00
push-gateway Add operationId to all endpoints of all APIs 2017-10-11 01:58:31 +09:00
server-server Improve the profile query to have more sane responses 2018-07-26 08:40:39 -06:00
check_examples.py Update the check_examples.py script to resolve references 2018-07-24 10:58:15 -06:00
package.json Reinstate validator.js 2016-05-04 00:19:46 +01:00
README README.rst: Add notes on how to build the spec 2017-10-25 09:57:02 +01:00
validator.js Provide doc-comments with makeHandler(); cleanup 2017-11-15 07:28:25 +09:00

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