aboutsummaryrefslogtreecommitdiff
path: root/src/guff/api/site.cr
blob: b99f550bf4179f7c1fa3620dcac3dfd37726818b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
require "json"

module Guff
  module API
    module SiteAPI
      private def do_site_add_site(
        context : HTTP::Server::Context,
        args    : Hash(String, String)
      )
        # TODO
        {ok: true}.to_json
      end

      private def do_site_remove_sites(
        context : HTTP::Server::Context,
        args    : Hash(String, String)
      )
        # TODO
        {ok: true}.to_json
      end

      private def do_site_set_default(
        context : HTTP::Server::Context,
        args    : Hash(String, String)
      )
        # TODO
        {ok: true}.to_json
      end

      private def do_site_set_domains(
        context : HTTP::Server::Context,
        args    : Hash(String, String)
      )
        # TODO
        {ok: true}.to_json
      end
    end
  end
end