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.
4 years ago
..
application-service Switch to using $ instead of # for sub-types 5 years ago
client-server Merge pull request #2524 from uhoreg/e2e_misc_fixes_202005 4 years ago
files
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 4 years ago
README
check_examples.py
openapi_extensions.md
package.json
validator.js

README

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