Release v1.0.0
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing

This commit is contained in:
2025-03-04 19:32:56 +01:00
parent bab8edbe7f
commit 0b16fd2202
8 changed files with 731 additions and 4 deletions

View File

@ -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),

View File

@ -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>,