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/data/api/server-server/definitions
Kévin Commaille 60339adb2d
Refactor PDU definitions to reduce duplication (#2070)
First of all, all PDU definitions were based on the v1 PDU definition with a few fields overwritten to change the format with needed.
While that works when rendering the spec, this is semantically incorrect because it means that the objects must match both schemas, which is impossible.

So now we make a base with only the common fields, and we add the others as needed by the room version.
Note that there is no more "unsigned PDU" definition since it is not used directly, and hashes and signatures are the same across all versions.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
9 months ago
..
components Refactor PDU definitions to reduce duplication (#2070) 9 months ago
event-schemas Use `patternProperties` in more places with supported formats (#1813) 2 years ago
edu.yaml Fix `edu_type` on EDU examples (#1383) 3 years ago
edu_with_example.yaml Fix `edu_type` on EDU examples (#1383) 3 years ago
invite_event.yaml Move room version spec to `/rooms` (#3423) 4 years ago
keys.yaml Use "server name" instead of "DNS name" to avoid confusion (#1946) 1 year ago
keys_query_response.yaml Move raw API and event schemas into /data directory 4 years ago
pdu_v1.yaml Refactor PDU definitions to reduce duplication (#2070) 9 months ago
pdu_v3.yaml Refactor PDU definitions to reduce duplication (#2070) 9 months ago
pdu_v4.yaml Refactor PDU definitions to reduce duplication (#2070) 9 months ago
pdu_v11.yaml Refactor PDU definitions to reduce duplication (#2070) 9 months ago
security.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
single_pdu_transaction.yaml Dump additional apis (#3684) 4 years ago
transaction.yaml Fix `edu_type` on EDU examples (#1383) 3 years ago
unlimited_pdu_transaction.yaml Dump additional apis (#3684) 4 years ago