@@ -185,8 +185,8 @@ worker: refer to the [stream writers](#stream-writers) section below for further
185
185
information.
186
186
187
187
# Sync requests
188
- ^/_matrix/client/(v2_alpha| r0|v3)/sync$
189
- ^/_matrix/client/(api/v1|v2_alpha| r0|v3)/events$
188
+ ^/_matrix/client/(r0|v3)/sync$
189
+ ^/_matrix/client/(api/v1|r0|v3)/events$
190
190
^/_matrix/client/(api/v1|r0|v3)/initialSync$
191
191
^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$
192
192
@@ -200,13 +200,9 @@ information.
200
200
^/_matrix/federation/v1/query/
201
201
^/_matrix/federation/v1/make_join/
202
202
^/_matrix/federation/v1/make_leave/
203
- ^/_matrix/federation/v1/send_join/
204
- ^/_matrix/federation/v2/send_join/
205
- ^/_matrix/federation/v1/send_leave/
206
- ^/_matrix/federation/v2/send_leave/
207
- ^/_matrix/federation/v1/invite/
208
- ^/_matrix/federation/v2/invite/
209
- ^/_matrix/federation/v1/query_auth/
203
+ ^/_matrix/federation/(v1|v2)/send_join/
204
+ ^/_matrix/federation/(v1|v2)/send_leave/
205
+ ^/_matrix/federation/(v1|v2)/invite/
210
206
^/_matrix/federation/v1/event_auth/
211
207
^/_matrix/federation/v1/exchange_third_party_invite/
212
208
^/_matrix/federation/v1/user/devices/
@@ -274,6 +270,8 @@ information.
274
270
Additionally, the following REST endpoints can be handled for GET requests :
275
271
276
272
^/_matrix/federation/v1/groups/
273
+ ^/_matrix/client/(api/v1|r0|v3|unstable)/pushrules/
274
+ ^/_matrix/client/(r0|v3|unstable)/groups/
277
275
278
276
Pagination requests can also be handled, but all requests for a given
279
277
room must be routed to the same instance. Additionally, care must be taken to
@@ -397,23 +395,23 @@ the stream writer for the `typing` stream:
397
395
The following endpoints should be routed directly to the worker configured as
398
396
the stream writer for the `to_device` stream :
399
397
400
- ^/_matrix/client/(api/v1| r0|v3|unstable)/sendToDevice/
398
+ ^/_matrix/client/(r0|v3|unstable)/sendToDevice/
401
399
402
400
# #### The `account_data` stream
403
401
404
402
The following endpoints should be routed directly to the worker configured as
405
403
the stream writer for the `account_data` stream :
406
404
407
- ^/_matrix/client/(api/v1| r0|v3|unstable)/.*/tags
408
- ^/_matrix/client/(api/v1| r0|v3|unstable)/.*/account_data
405
+ ^/_matrix/client/(r0|v3|unstable)/.*/tags
406
+ ^/_matrix/client/(r0|v3|unstable)/.*/account_data
409
407
410
408
# #### The `receipts` stream
411
409
412
410
The following endpoints should be routed directly to the worker configured as
413
411
the stream writer for the `receipts` stream :
414
412
415
- ^/_matrix/client/(api/v1| r0|v3|unstable)/rooms/.*/receipt
416
- ^/_matrix/client/(api/v1| r0|v3|unstable)/rooms/.*/read_markers
413
+ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt
414
+ ^/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers
417
415
418
416
# #### The `presence` stream
419
417
@@ -528,7 +526,7 @@ Note that if a reverse proxy is used , then `/_matrix/media/` must be routed for
528
526
Handles searches in the user directory. It can handle REST endpoints matching
529
527
the following regular expressions :
530
528
531
- ^/_matrix/client/(api/v1| r0|v3|unstable)/user_directory/search$
529
+ ^/_matrix/client/(r0|v3|unstable)/user_directory/search$
532
530
533
531
When using this worker you must also set `update_user_directory : False` in the
534
532
shared configuration file to stop the main synapse running background
@@ -540,7 +538,7 @@ Proxies some frequently-requested client endpoints to add caching and remove
540
538
load from the main synapse. It can handle REST endpoints matching the following
541
539
regular expressions :
542
540
543
- ^/_matrix/client/(api/v1| r0|v3|unstable)/keys/upload
541
+ ^/_matrix/client/(r0|v3|unstable)/keys/upload
544
542
545
543
If `use_presence` is False in the homeserver config, it can also handle REST
546
544
endpoints matching the following regular expressions :
0 commit comments