summaryrefslogtreecommitdiff
path: root/api/paths.go
blob: 4caec4a1bde50822b08269294f7c4ec1d9ae88e7 (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
package api

const (
	Base           = "/api"
	SingleUser     = Base + "/single_user"
	Private        = Base + "/private"
	Image          = Base + "/image"
	ImagePage      = Image + "/page"
	ImagePageField = ImagePage + "/:entry"
	ImagePageImage = ImagePageField + "/image"
	ImageField     = Image + "/:flake"
	ImageFile      = ImageField + "/file"
	ImagePreview   = ImageField + "/preview"
	ImageTag       = ImageField + "/tag"
	ImageTagField  = ImageTag + "/:tag"
	Tag            = Base + "/tag"
	TagField       = Tag + "/:tag"
	TagInfo        = TagField + "/info"
	TagPage        = TagField + "/page"
	TagPageField   = TagPage + "/:entry"
	TagPageImage   = TagPageField + "/image"
	Search         = Base + "/search"
	SearchField    = Search + "/:tags"
	User           = Base + "/user"
	UserThis       = User + "/this"
	UserField      = User + "/:flake"
	UserSecret     = UserField + "/secret"
	UserImage      = UserField + "/image"
	UserPassword   = UserField + "/password"
	Username       = Base + "/username"
	UsernameField  = Username + "/:name"
	UsernameAuth   = UsernameField + "/auth"
)