update few endpoint docs versions

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-01-17 19:54:17 -05:00 committed by June
parent 2bbc75d68e
commit 3ffca25f6f
2 changed files with 4 additions and 4 deletions

View file

@ -92,7 +92,7 @@ pub async fn get_remote_content(
Ok(content_response) Ok(content_response)
} }
/// # `GET /_matrix/media/r0/download/{serverName}/{mediaId}` /// # `GET /_matrix/media/v3/download/{serverName}/{mediaId}`
/// ///
/// Load media from our server or over federation. /// Load media from our server or over federation.
/// ///
@ -123,7 +123,7 @@ pub async fn get_content_route(
} }
} }
/// # `GET /_matrix/media/r0/download/{serverName}/{mediaId}/{fileName}` /// # `GET /_matrix/media/v3/download/{serverName}/{mediaId}/{fileName}`
/// ///
/// Load media from our server or over federation, permitting desired filename. /// Load media from our server or over federation, permitting desired filename.
/// ///
@ -158,7 +158,7 @@ pub async fn get_content_as_filename_route(
} }
} }
/// # `GET /_matrix/media/r0/thumbnail/{serverName}/{mediaId}` /// # `GET /_matrix/media/v3/thumbnail/{serverName}/{mediaId}`
/// ///
/// Load media thumbnail from our server or over federation. /// Load media thumbnail from our server or over federation.
/// ///

View file

@ -14,7 +14,7 @@ use std::{
sync::Arc, sync::Arc,
}; };
/// # `PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}` /// # `PUT /_matrix/client/v3/rooms/{roomId}/send/{eventType}/{txnId}`
/// ///
/// Send a message event into the room. /// Send a message event into the room.
/// ///