aboutsummaryrefslogtreecommitdiff
path: root/src/guff/api/dir.cr
blob: 9b3779e86bfb2b5871a7dc392b1844aa64c99db2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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