From bbe78c253cfa440243dec96febcceb3bea699217 Mon Sep 17 00:00:00 2001 From: Ben Banfield-Zanin Date: Mon, 4 Aug 2025 13:19:34 +0100 Subject: [PATCH] Improve device lists documentation (#18761) --- changelog.d/18761.doc.md | 1 + docs/workers.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 changelog.d/18761.doc.md diff --git a/changelog.d/18761.doc.md b/changelog.d/18761.doc.md new file mode 100644 index 000000000..0e34e8404 --- /dev/null +++ b/changelog.d/18761.doc.md @@ -0,0 +1 @@ +Improve worker documentation for some device paths. diff --git a/docs/workers.md b/docs/workers.md index 59c60dd0a..1a277818e 100644 --- a/docs/workers.md +++ b/docs/workers.md @@ -260,7 +260,7 @@ information. ^/_matrix/client/(r0|v3|unstable)/keys/claim$ ^/_matrix/client/(r0|v3|unstable)/room_keys/ ^/_matrix/client/(r0|v3|unstable)/keys/upload - ^/_matrix/client/(api/v1|r0|v3|unstable/keys/device_signing/upload$ + ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/device_signing/upload$ ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/signatures/upload$ # Registration/login requests @@ -559,9 +559,9 @@ can be handled by any worker, but should be routed directly one of the workers configured as stream writer for the `device_lists` stream: ^/_matrix/client/(r0|v3)/delete_devices$ - ^/_matrix/client/(api/v1|r0|v3|unstable)/devices/ + ^/_matrix/client/(api/v1|r0|v3|unstable)/devices(/|$) ^/_matrix/client/(r0|v3|unstable)/keys/upload - ^/_matrix/client/(api/v1|r0|v3|unstable/keys/device_signing/upload$ + ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/device_signing/upload$ ^/_matrix/client/(api/v1|r0|v3|unstable)/keys/signatures/upload$ #### Restrict outbound federation traffic to a specific set of workers