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