Implement all API according to swagger spec #27

Merged
blek merged 16 commits from delete-upload-api-methods into 0.2-dev 2023-12-14 11:56:46 +01:00
Owner
No description provided.
blek added 13 commits 2023-12-13 11:16:35 +01:00
blek reviewed 2023-12-13 11:20:50 +01:00
blek left a comment
Author
Owner

The delete method is not implemented properly according to the spec

The `delete` method is not implemented properly according to the spec
blek reviewed 2023-12-14 10:12:10 +01:00
@ -2,6 +2,7 @@
use std::error::Error;
use redis::{Client, Commands, AsyncCommands, Connection};
use tokio::task::JoinSet;
Author
Owner

unused, right?

unused, right?
blek marked this conversation as resolved
@ -0,0 +46,4 @@
)
}
Ok(Box::new(json(&HashMap::<(), ()>::new())))
Author
Owner

this is stupid. why not use serde_json::json!{}?

this is stupid. why not use `serde_json::json!{}`?
blek marked this conversation as resolved
@ -14,0 +48,4 @@
|x| {
if let Some(owner) = x.uploader_ip {
if let Some(caller) = ip {
println!("{owner} {caller}");
Author
Owner

looks like a leftover debug statement

looks like a leftover debug statement
blek marked this conversation as resolved
blek added 2 commits 2023-12-14 10:35:31 +01:00
blek added 1 commit 2023-12-14 10:37:28 +01:00
blek merged commit ee7fe2963f into 0.2-dev 2023-12-14 11:56:46 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blek/bfile#27
No description provided.