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 42ae5c966a Clarify the limits of prev_events and auth_events
Fixes https://github.com/matrix-org/matrix-doc/issues/2307

These restrictions are due to a Synapse change which never made it to the spec prior to the MSC process. This is therefore documenting an omission.

Synapse's numbers are verified here: 207b1737ee/synapse/handlers/federation.py (L1183-L1213)

... and Synapse's handling of the backfill endpoint is described here: 207b1737ee/synapse/handlers/federation.py (L829-L837)

This also includes a mention that https://github.com/matrix-org/matrix-doc/pull/1594 should render the `auth_events` limitation unnecessary. 

No changes are required to the the "checks on receipt of a PDU" section of the server-server spec as it starts with "must be a valid event", to which an event is invalid if it contains too many prev or auth events.
5 years ago
..
application-service Switch to using $ instead of # for sub-types 6 years ago
client-server Merge pull request #2524 from uhoreg/e2e_misc_fixes_202005 5 years ago
files fix for https://github.com/matrix-org/matrix-doc/issues/270 9 years ago
identity Clarify what format the `country` is on phone number inputs 5 years ago
push-gateway Fix Push Gateway API example: Field renamed to event_id 5 years ago
server-server Clarify the limits of prev_events and auth_events 5 years ago
README README.rst: Add notes on how to build the spec 7 years ago
check_examples.py Fix examples for new schema 6 years ago
openapi_extensions.md Document OpenAPI extension 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.