Olivia Lee
9bbb9c5397
move standard error schema to appendices and share between all APIs
...
I asked about this on matrix, and tulir confirmed[1] that the error
schema was intended to be shared between all APIs. I would like the
shared schema to be explicit in the spec text so that ruma can move to
using the same error type for client-server and server-server endpoints.
This would simplify error handling in server implementations.
Error codes that are used in more than one API were moved to the
appendices, while error codes specific to only one API were left there.
Since the docs on which error codes are actually used by which endpoints
aren't very complemete, I determined this by looking at the synapse
source code.
[1]: https://matrix.to/#/#matrix-spec-discussion:neko.dev/$Y2yTCeR_AeW6g_4jViFbx4gTE_AwF0RN7yrHJ25F5Q8
Signed-off-by: Olivia Lee <olivia@computer.surgery>
2024-12-13 00:27:51 -08:00
Kévin Commaille
96b32f68f9
Allow sending ephemeral data to application services ( #2018 )
...
As per MSC2409.
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-12-11 22:38:59 +00:00
Tulir Asokan
5c96f45556
Specify that appservice login and register fail on incorrect as_tokens ( #1744 )
...
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2024-03-19 14:59:00 +00:00
Tulir Asokan
9dd9639dd7
Add spec for MSC2659: application service ping endpoint ( #1516 )
2023-05-23 18:36:37 +01:00
Andrew Morgan
c0955a6aee
Add a hyphen between third and party when used as an adjective ( #1447 )
2023-03-08 09:58:29 +00:00
Patrick Cloke
eeb43043ad
Add standard error responses (MSC3743). ( #1347 )
2022-11-22 15:51:29 +00:00
Richard van der Hoff
1945589acf
Clarifications to AS spec, including MSC3905 ( #1305 )
...
Primarily this is the spec for MSC3905, but I've also taken the opportunity to clean up the section a bit and move the definition out to a .yaml file.
2022-11-08 15:01:46 +00:00
Andrew Morgan
098aabd22a
Add a missing 'the'
2022-10-04 09:47:33 +01:00
Travis Ralston
6dc7b95e18
Use auth header instead of query param for hs->as comms ( #1200 )
...
* Use auth header instead of query param for hs->as comms
MSC: https://github.com/matrix-org/matrix-spec-proposals/pull/2832
* Fix for OpenAPI 2
2022-08-04 11:33:16 -06:00
Travis Ralston
10bd1b5038
Re-add timestamp massaging ( #1094 )
...
* Re-add timestamp massaging
Per [MSC3316](https://github.com/matrix-org/matrix-spec-proposals/pull/3316 )
* changelog
2022-05-31 09:24:45 -06:00
Andrew Morgan
32b93d961e
Switch %CLIENT_MAJOR_VERSION% in /login endpoint for current /login version
...
This was left over from the days of all CS API endpoints sharing
the same major spec release version.
2022-03-03 10:45:51 +00:00
Travis Ralston
76aaf39811
Decorate Matrix version on appservice login
2021-12-28 14:21:57 -07:00
Will Hunt
a05706780d
Add m.login.appservice to the spec ( #3324 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Hubert Chathi <hubertc@matrix.org>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-12-28 14:18:44 -07:00
Travis Ralston
95d850c418
Update client-server API endpoints to move from r0 to v3 (plus whitespace fixes) ( #3421 )
...
* Blind find & replace all on client major version -> v3
* Fix up bad replacements
* Fix anchors for r0->v3
* Changelog
2021-10-12 11:07:01 -06:00
Will
52f5e73a39
Update content to call the new template for HTTP APIs
2021-08-27 19:16:42 +01:00
Will
86152613b1
Remove changelog sections
2021-01-22 14:27:36 -08:00
Will
52745160f3
Use GFM table syntax instead of raw HTML
2021-01-21 17:08:08 -08:00
Will
338434bfcd
Support alerts (notes, warnings, rationales)
2021-01-20 12:34:49 -08:00
Will
6c6bd57ebf
Fix ASCII diagrams
2021-01-19 16:41:28 -08:00
Will
55aed1d296
Remove 'unstable' warning
2021-01-19 16:03:15 -08:00
Will
74adbfc1ec
Remove 'Table of Contents'
2021-01-19 15:32:30 -08:00
Will
9d4803c8af
Remove duplicate titles
2021-01-19 15:30:52 -08:00
Will
c924b3246f
Add page content as raw Pandoc output
2021-01-19 15:14:52 -08:00
Will
ebc6db233b
Add empty page placeholders
2021-01-19 14:15:46 -08:00