aboutsummaryrefslogtreecommitdiff
path: root/src/guff/api/file.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/guff/api/file.cr')
-rw-r--r--src/guff/api/file.cr23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/guff/api/file.cr b/src/guff/api/file.cr
new file mode 100644
index 0000000..353de9d
--- /dev/null
+++ b/src/guff/api/file.cr
@@ -0,0 +1,23 @@
+require "json"
+
+module Guff
+ module API
+ module FileAPI
+ private def do_file_add(
+ context : HTTP::Server::Context,
+ args : Hash(String, String)
+ )
+ # TODO
+ {ok: true}.to_json
+ end
+
+ private def do_file_remove(
+ context : HTTP::Server::Context,
+ args : Hash(String, String)
+ )
+ # TODO
+ {ok: true}.to_json
+ end
+ end
+ end
+end