Add cloud documents, folders, and shared items to desktop API

This commit is contained in:
2026-07-18 16:55:45 -04:00
parent 039c88d4d0
commit 3fe3544223
2 changed files with 277 additions and 0 deletions
+4
View File
@@ -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()