blek pushed to 0.2-dev at blek/bfile 2023-12-14 11:56:48 +01:00
ee7fe2963f fix compile warnings
02c3d6f52d include changes as requested
7cd3c91cf1 properly implement delete method according to config
bd12e44838 remove an unused import
3cb1fd978f make the get_all api method actually work
Compare 16 commits »
blek merged pull request blek/bfile#27 2023-12-14 11:56:46 +01:00
Implement all API according to swagger spec
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-14 10:37:28 +01:00
67b670e072 fix compile warnings
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-14 10:35:31 +01:00
589ff7b040 include changes as requested
5fab110513 properly implement delete method according to config
Compare 2 commits »
blek commented on pull request blek/bfile#27 2023-12-14 10:12:11 +01:00
Implement all API according to swagger spec

looks like a leftover debug statement

blek commented on pull request blek/bfile#27 2023-12-14 10:12:10 +01:00
Implement all API according to swagger spec

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

blek commented on pull request blek/bfile#27 2023-12-14 10:12:10 +01:00
Implement all API according to swagger spec

unused, right?

blek commented on pull request blek/bfile#27 2023-12-13 11:20:50 +01:00
Implement all API according to swagger spec

The delete method is not implemented properly according to the spec

blek created pull request blek/bfile#27 2023-12-13 11:16:35 +01:00
Implement all API according to swagger spec
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-13 11:15:38 +01:00
36bda05825 remove an unused import
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-13 11:15:00 +01:00
d27eb2dfed make the get_all api method actually work
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-12 15:55:49 +01:00
d277fd451e fix stupid mistakes in config checks
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-12 15:47:57 +01:00
86f6958a02 improve the documentation on api upload method
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-12 08:11:32 +01:00
d5c49d73a9 add config checks to api upload
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-12 08:03:15 +01:00
8d8d1b5a2e add bodies to responses
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-12 08:01:54 +01:00
7ad7a5acf0 add all the functionality into the upload api
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-12 07:30:24 +01:00
ae90e5474b fix any request being treated as a GUI upload form
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-12 07:29:09 +01:00
c298a188bf add upload route
blek pushed to delete-upload-api-methods at blek/bfile 2023-12-11 00:59:01 +01:00
400c3dc129 add file password to /api/files/upload swagger spec
blek pushed to 0.2-dev at blek/bfile 2023-12-11 00:56:46 +01:00
ea15e25fe2 hardcode the midfix variable
e84ddee2a4 refactor code for readability
Compare 3 commits »