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/server-server
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
..
definitions Clarify the limits of prev_events and auth_events 4 years ago
examples Add version 4 rooms to the spec 5 years ago
backfill.yaml Clarify the limits of prev_events and auth_events 4 years ago
event_auth.yaml Remove query_auth from the specification per MSC2451. 4 years ago
events.yaml Clarify how many PDUs are in a given transaction object 5 years ago
invites-v1.yaml Rename example to invite_room_state 5 years ago
invites-v2.yaml Rename example to invite_room_state 5 years ago
joins.yaml Add missing required flags 5 years ago
keys_query.yaml Specify some of the common concepts for Matrix in the index 5 years ago
keys_server.yaml Specify some of the common concepts for Matrix in the index 5 years ago
leaving.yaml Touchups on the s2s swagger definitions 5 years ago
openid.yaml Fix #1904. 5 years ago
public_rooms.yaml Add s2s POST /publicRooms per MSC2197 5 years ago
query.yaml Touchups on the s2s swagger definitions 5 years ago
third_party_invite.yaml Fix more titles 5 years ago
transactions.yaml The event *format* changes, not the version 5 years ago
user_devices.yaml Touchups on the s2s swagger definitions 5 years ago
user_keys.yaml Client-server: Fix upload keys example request 5 years ago
version.yaml Touchups on the s2s swagger definitions 5 years ago
wellknown.yaml Touchups on the s2s swagger definitions 5 years ago