Commit graph

1216 commits

Author SHA1 Message Date
Andrew Morgan
0a53c86397 Make 'messages' a required JSON body field in /sendToDevice 2020-12-29 16:25:28 +00:00
Hubert Chathi
f352de90c3
Merge pull request #2536 from uhoreg/cross-signing-spec
initial spec for cross-signing
2020-12-15 13:11:16 -05:00
Hubert Chathi
c56c6a2e2b
Update api/client-server/cross_signing.yaml
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2020-12-15 12:35:02 -05:00
Will
42bb5127be
Fix typo in API title 2020-11-08 09:44:11 -08:00
Hubert Chathi
a5ebedc131 apply suggestions from review 2020-10-16 18:36:02 -04:00
Aaron Raimist
a82b657a0a
Attempt to differentiate between m.room.redaction event PL and redact PL
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-10-14 22:44:17 -05:00
Aaron Raimist
4414d44f34
Remove duplicate description of who can redact a message and correct that description
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-10-12 22:30:52 -05:00
Travis Ralston
9a1badee45 Merge remote-tracking branch 'jcgruenhage/patch-1' 2020-10-08 09:15:11 -06:00
Travis Ralston
2887c715bb
Merge pull request #2795 from matrix-org/travis/spec/msc2367-reason
Add membership reasons to the spec for all membership events
2020-10-07 14:51:53 -06:00
Travis Ralston
9ea7b2f5df
Merge pull request #2796 from matrix-org/travis/spec/msc2663-push-errors
Add 404 error responses to push rule endpoints
2020-10-07 14:51:29 -06:00
Jan Christian Grünhage
9e29f59bdb
fix content type in upload example 2020-10-07 21:22:59 +02:00
Will
6c9b25a397
Make score and reason parameters optional in content reporting API (MSC2414) 2020-10-07 09:38:03 -07:00
Travis Ralston
5e60ff8bfd Add 404 error responses to push rule endpoints
MSC: https://github.com/matrix-org/matrix-doc/pull/2663
2020-09-30 13:56:12 -06:00
Travis Ralston
2d047e312f Add membership reasons to the spec for all membership events
MSC: https://github.com/matrix-org/matrix-doc/pull/2367
2020-09-30 13:43:56 -06:00
Travis Ralston
1c7a6a9c7f Attempt to clarify how the state restriction works for lazy-loading 2020-08-31 15:16:55 -06:00
Kitsune Ral
5a699f2650
Merge pull request #2518 from matrix-org/kitsune/cleanup
Assorted cleanup pieces
2020-07-23 08:42:41 +02:00
Richard van der Hoff
6da06383e8
Allow /make_join to return a 404 (#2688)
Specify that `GET /_matrix/federation/v1/make_join/{roomId}/{userId}` can
return a 404 if the room is unknown.
2020-07-16 15:17:40 +01:00
Olivier Wilkinson (reivilibre)
2e72da2343 Fix spec bug concerning the type of a push rule's array of actions
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2020-07-06 13:14:27 +01:00
Aaron Raimist
f8ff2ad6a9
Reword "UI Authorization" to "User-Interactive Authentication" (#2667)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-07-06 11:19:41 +01:00
Hubert Chathi
a91c6446bc
Merge pull request #2639 from uhoreg/backup_version_required
various key backups fixes
2020-07-01 12:04:40 -04:00
Hubert Chathi
902444ceb5
Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2020-06-19 21:40:46 -04:00
Travis Ralston
465ed38416
Merge pull request #2647 from jplatte/event-titles
Make event's title fields UpperCamelCase and distinguish /sync ones
2020-06-19 13:53:52 -06:00
Jonas Platte
763e5654cc
Make event's title fields UpperCamelCase and distinguish /sync ones 2020-06-19 21:53:18 +02:00
Jonas Platte
049275c33b
Consistently use the title UnsignedData for the unsigned object 2020-06-19 20:16:20 +02:00
Kitsune Ral
c76d53c11a
Apply suggestions from code review 2020-06-18 11:03:43 +02:00
Hubert Chathi
24427242f7 fix more mistakes in key backup spec, and factor out room key backups 2020-06-16 17:00:29 -04:00
Hubert Chathi
af6e1157d9 version is required when getting keys. Also add some full stops. 2020-06-16 14:23:10 -04:00
Hubert Chathi
efebba62de result may also include signatures 2020-06-15 18:38:47 -04:00
Hubert Chathi
be01eebf8f use the right key ID 2020-06-15 12:56:49 -04:00
Nicolas Werner
e3d12d6769 Remove room_id from /sync examples
Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
2020-06-11 18:27:00 +02:00
Kitsune Ral
e310736adb
Merge pull request #2626 from matrix-org/kitsune/structures
Use public_rooms_response.yaml instead of replicating the same definition
2020-06-11 07:36:28 +02:00
Kitsune Ral
57f0c8346f message_pagination.yaml: more $ref cleanup 2020-06-11 07:32:12 +02:00
Kitsune Ral
d3b41941aa key_backup.yaml: make body parameters required
Along the same lines as c72d3051.
2020-06-10 21:16:54 +02:00
Kitsune Ral
8e7c0dfb93 Merge remote-tracking branch 'origin/master' into kitsune/cleanup 2020-06-10 21:14:49 +02:00
Kitsune Ral
49ccfa09a8
Merge pull request #2592 from matrix-org/kitsune/fix-room-versions
capabilities.yaml: drop an extraneous title
2020-06-06 17:47:15 +02:00
Richard van der Hoff
f632f4a20f
Clarify link to OpenID Connect specification (#2605)
OpenID Connect and OpenID are different things. This seems to be talking about
the former.
2020-06-04 17:36:40 +01:00
Travis Ralston
29f23a5eda
Merge pull request #2599 from matrix-org/travis/typos
Fix typos and clarify the user ID in login sections
2020-06-03 11:40:05 -06:00
Hubert Chathi
cf37688b7c
Merge pull request #2387 from uhoreg/key_backup_spec
initial version of spec for key backups
2020-06-02 16:28:04 -04:00
Hubert Chathi
a36284810d more clarifications and fixes 2020-06-02 16:25:31 -04:00
Travis Ralston
d9a1de1d30 Fix typos and clarify the user ID in login sections 2020-06-02 08:13:07 -06:00
Hubert Chathi
40c50c80ea
Apply suggestions from code review
Co-authored-by: Travis Ralston <travpc@gmail.com>
2020-06-01 22:34:45 -04:00
Kitsune Ral
bda05a0d44 capabilities.yaml: drop an extraneous title
AvailableRoomVersions sticks itself as a property type, preempting
the mention of RoomVersionStability in the generated text.
2020-06-01 09:50:18 +02:00
Hubert Chathi
ec0b9badc7 Merge remote-tracking branch 'origin/master' into cross-signing-spec 2020-05-29 17:25:19 -04:00
Hubert Chathi
67edc3e229 add clarifications and diagrams 2020-05-29 17:25:07 -04:00
Kitsune Ral
3b5340539d c2s: Make allOf and description siblings throughout the PR
The overall mess with allOf will be addressed separately; this PR just
puts $ref under allOf to fix the glaring misuse of $ref objects.
2020-05-28 14:40:29 +02:00
Kitsune Ral
48af2e5b47 joining.yaml: put descriptions next to their properties
Fixing the problem described in https://github.com/matrix-org/matrix-doc/pull/2518#issuecomment-621684187
2020-05-28 14:17:01 +02:00
Kitsune Ral
040a91f42d api/: More cleanup in descriptions
(and a fix in one example).
2020-05-28 14:11:47 +02:00
Kitsune Ral
f299f60e17 Use public_rooms_response.yaml instead of replicating the same definition
Signed-off-by: Alexey Rusakov <Alexey.Rusakov@pm.me>
2020-05-28 14:01:47 +02:00
Kitsune Ral
67a8176903 Clarify officially that we use multiple API files
This is not something endorsed by the OpenAPI spec, just our practice.
2020-05-28 13:55:37 +02:00
Kitsune Ral
6cfb94562e c2s: clean up $ref objects
* Most of the changes: align to the $ref object definition
  (https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03#section-3)
  that says that any attribute other than $ref be ignored.
* Remove extraneous leading ./ in $ref paths
* Fix an apparent typo in registration.yaml:
  /account/password/msisdn/requestToken used a file from ../identity/*
  instead of its c2s namesake.
2020-05-28 13:55:37 +02:00