Release v1.0.0
This commit is contained in:
@ -67,7 +67,6 @@ async fn main() -> std::io::Result<()> {
|
||||
"/api/media/{server_name}/{media_id}/thumbnail",
|
||||
web::get().to(api::media::thumbnail),
|
||||
)
|
||||
// TODO : handle space
|
||||
.route(
|
||||
"/api/profile/{user_id}",
|
||||
web::get().to(api::profile::get_profile),
|
||||
|
@ -11,6 +11,7 @@ pub struct MediaInfoInPath {
|
||||
}
|
||||
|
||||
/// Download a media
|
||||
#[allow(deprecated)]
|
||||
pub async fn download(auth: APIClientAuth, path: web::Path<MediaInfoInPath>) -> HttpResult {
|
||||
let res = auth
|
||||
.send_request(media::get_content::v3::Request::new(
|
||||
@ -34,6 +35,7 @@ pub struct MediaThumbnailQuery {
|
||||
}
|
||||
|
||||
/// Get a media thumbnail
|
||||
#[allow(deprecated)]
|
||||
pub async fn thumbnail(
|
||||
auth: APIClientAuth,
|
||||
path: web::Path<MediaInfoInPath>,
|
||||
|
Reference in New Issue
Block a user