diff options
Diffstat (limited to 'src/guff/api/tag.cr')
-rw-r--r-- | src/guff/api/tag.cr | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/guff/api/tag.cr b/src/guff/api/tag.cr new file mode 100644 index 0000000..e91fb60 --- /dev/null +++ b/src/guff/api/tag.cr @@ -0,0 +1,21 @@ +require "json" + +module Guff + module API + module TagAPI + private def do_tag_get_tags( + context : HTTP::Server::Context, + args : Hash(String, String) + ) + [{foo: "bar"}, {foo: "asdf"}].to_json + end + + private def do_tag_remove_tags( + context : HTTP::Server::Context, + args : Hash(String, String) + ) + true.to_json + end + end + end +end |