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