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/server-server
Travis Ralston ff75996524 Add specification for room version 3: Event IDs as hashes
Original proposal: https://github.com/matrix-org/matrix-doc/pull/1659
Implementation proofs (some traversing of the PR tree may be required to get all of them):
* https://github.com/matrix-org/synapse/pull/4483
* https://github.com/matrix-org/synapse/pull/4499

This doesn't intentionally change anything from the proposal.

**Implementation details**:

The simple part of this is the introduction of a rooms/v3.html document. The somewhat unclear part is the stuff done to the s2s definitions. This pulls `unsigned_pdu` out to `unsigned_pdu_base` (all fields except `event_id`) where it can be reused in `pdu` and `pdu_v3` (for rooms v3). These definitions are further moved into the room version specifications where they can highlight the exact schemas in detail.

Version 1 has been updated to include the pre-existing event format, however the core principles of the room have not been changed. The same applies to room version 2. Room versions have immutable core principles once in the spec, otherwise these format changes would land in a pre-existing version.

The client-server API event formats will need updating, however that is being punted to a different commit to try and keep these changes reviewable.
7 years ago
..
definitions Add specification for room version 3: Event IDs as hashes 7 years ago
examples Add specification for room version 3: Event IDs as hashes 7 years ago
backfill.yaml Use example.org on examples instead of domain.com which is a real domain 7 years ago
event_auth.yaml Use example.org on examples instead of domain.com which is a real domain 7 years ago
events.yaml Use example.org on examples instead of domain.com which is a real domain 7 years ago
invites-v1.yaml Specification for v2 s2s invite API 7 years ago
invites-v2.yaml Minor wording changes from code review 7 years ago
joins.yaml Specify the room_version response property on /make_{leave|join} 7 years ago
keys_query.yaml Specify which swagger APIs consume JSON 8 years ago
keys_server.yaml Deprecate key ID querying 8 years ago
leaving.yaml Specify the room_version response property on /make_{leave|join} 7 years ago
openid.yaml Document OpenID in the server-server API 8 years ago
public_rooms.yaml Document third party network/protocol directories (for appservices) 7 years ago
query.yaml Define authorization requirements on federation swagger APIs 8 years ago
third_party_invite.yaml Use example.org on examples instead of domain.com which is a real domain 7 years ago
transactions.yaml Use example.org on examples instead of domain.com which is a real domain 7 years ago
user_devices.yaml spell out stream_id and fix todo 7 years ago
user_keys.yaml device_keys are required 7 years ago
version.yaml Document federation version endpoint 8 years ago