docs: documentation for every endpoint

This commit is contained in:
Timo Kösters
2021-08-31 19:14:37 +02:00
parent 364820aae4
commit b9eb39a9c6
35 changed files with 847 additions and 93 deletions

View File

@@ -4,6 +4,11 @@ use ruma::api::client::r0::user_directory::search_users;
#[cfg(feature = "conduit_bin")]
use rocket::post;
/// # `POST /_matrix/client/r0/user_directory/search`
///
/// Searches all known users for a match.
///
/// - TODO: Hide users that are not in any public rooms?
#[cfg_attr(
feature = "conduit_bin",
post("/_matrix/client/r0/user_directory/search", data = "<body>")