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
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
..
definitions Refactor PDU definitions to reduce duplication (#2070) 9 months ago
examples Refactor PDU definitions to reduce duplication (#2070) 9 months ago
backfill.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
content_repository.yaml Replace references to obsolete RFC 1341 with RFC 2046 (#1869) 1 year ago
event_auth.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
events.yaml Fix relative URLs when serving the specification with a custom `baseURL` (#1984) 1 year ago
invites-v1.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
invites-v2.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
joins-v1.yaml Remove the `origin` field in `PUT /send_join` responses (#2050) 11 months ago
joins-v2.yaml Remove the `origin` field in `PUT /send_join` responses (#2050) 11 months ago
keys_query.yaml Use "server name" instead of "DNS name" to avoid confusion (#1946) 1 year ago
keys_server.yaml Upgrade Swagger data to OpenAPI 3.1 (#1310) 3 years ago
knocks.yaml Clean up unecessary `allOf`s (#1797) 2 years ago
leaving-v1.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
leaving-v2.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
openid.yaml Upgrade Swagger data to OpenAPI 3.1 (#1310) 3 years ago
public_rooms.yaml Document `instance_id` field of `/thirdparty/protocols` (#2051) 10 months ago
query.yaml MSC4170: 403 error responses for profile APIs (#1867) 1 year ago
space_hierarchy.yaml Fix relative URLs when serving the specification with a custom `baseURL` (#1984) 1 year ago
third_party_invite.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
transactions.yaml Use `patternProperties` in more places with supported formats (#1813) 2 years ago
user_devices.yaml Fix security schemes in OpenAPI definitions (#1772) 2 years ago
user_keys.yaml Specify the order in which one-time keys are returned (MSC4225) (#2029) 12 months ago
version.yaml Upgrade Swagger data to OpenAPI 3.1 (#1310) 3 years ago
wellknown.yaml Upgrade Swagger data to OpenAPI 3.1 (#1310) 3 years ago