Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add missing user_dir endpoint from the generic worker documentation #12773

Merged
merged 6 commits into from
May 19, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/12773.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing user directory endpoint from the generic worker documentation. Contributed by @olmari.
6 changes: 6 additions & 0 deletions docs/workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ information.
# Presence requests
^/_matrix/client/(api/v1|r0|v3|unstable)/presence/

# User directory queries
^/_matrix/client/(r0|v3|unstable)/user_directory/search$
olmari marked this conversation as resolved.
Show resolved Hide resolved

Additionally, the following REST endpoints can be handled for GET requests:

Expand Down Expand Up @@ -445,6 +447,10 @@ Specify its name in the shared configuration as follows:
update_user_directory_from_worker: worker_name
```

It can handle REST endpoint matching the following regular expression:

^/_matrix/client/(r0|v3|unstable)/user_directory/search$

olmari marked this conversation as resolved.
Show resolved Hide resolved
This work cannot be load-balanced; please ensure the main process is restarted
after setting this option in the shared configuration!

Expand Down