Add cloud documents, folders, and shared items to desktop API
This commit is contained in:
@@ -148,6 +148,10 @@ async fn main() {
|
||||
.route("/spaces", get(desktop::list_spaces).post(desktop::create_space))
|
||||
.route("/spaces/{id}", get(desktop::pull_space).delete(desktop::delete_space))
|
||||
.route("/spaces/{id}/manifest", get(desktop::get_manifest))
|
||||
.route("/folders", get(desktop::list_folders))
|
||||
.route("/documents", get(desktop::list_documents))
|
||||
.route("/documents/{id}", get(desktop::pull_document).put(desktop::push_document))
|
||||
.route("/shared", get(desktop::list_shared))
|
||||
.route("/spaces/{id}/file", get(desktop::pull_file).put(desktop::push_file).delete(desktop::delete_file));
|
||||
|
||||
let v1_routes = Router::new()
|
||||
|
||||
Reference in New Issue
Block a user