@openrails/contentkit-ui 0.79.0 → 0.81.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -54
- package/dist/client/beacons.d.ts +53 -0
- package/dist/client/beacons.js +72 -0
- package/dist/client/beacons.js.map +1 -0
- package/dist/client/catalog.d.ts +2 -2
- package/dist/client/catalog.js +1 -1
- package/dist/client/catalog.js.map +1 -1
- package/dist/client/client.d.ts +24 -11
- package/dist/client/client.js +37 -29
- package/dist/client/client.js.map +1 -1
- package/dist/client/content/comments.d.ts +12 -8
- package/dist/client/content/comments.js +33 -20
- package/dist/client/content/comments.js.map +1 -1
- package/dist/client/content/favorites.d.ts +24 -9
- package/dist/client/content/favorites.js +21 -22
- package/dist/client/content/favorites.js.map +1 -1
- package/dist/client/content/moderation.d.ts +1 -1
- package/dist/client/content/moderation.js.map +1 -1
- package/dist/client/content/reactions.d.ts +11 -6
- package/dist/client/content/reactions.js +23 -18
- package/dist/client/content/reactions.js.map +1 -1
- package/dist/client/content/types.d.ts +40 -21
- package/dist/client/content/types.js +5 -2
- package/dist/client/content/types.js.map +1 -1
- package/dist/client/contents.d.ts +55 -0
- package/dist/client/contents.js +144 -0
- package/dist/client/contents.js.map +1 -0
- package/dist/client/discovery.d.ts +126 -0
- package/dist/client/discovery.js +125 -0
- package/dist/client/discovery.js.map +1 -0
- package/dist/client/generated/error-codes.d.ts +1 -1
- package/dist/client/generated/error-codes.js +12 -0
- package/dist/client/generated/error-codes.js.map +1 -1
- package/dist/client/generated/routes.d.ts +1244 -370
- package/dist/client/generated/routes.js +1870 -554
- package/dist/client/generated/routes.js.map +1 -1
- package/dist/client/generated/wire.d.ts +960 -134
- package/dist/client/generated/wire.js.map +1 -1
- package/dist/client/group-fields.d.ts +25 -0
- package/dist/client/group-fields.js +63 -0
- package/dist/client/group-fields.js.map +1 -0
- package/dist/client/groups.d.ts +58 -0
- package/dist/client/groups.js +119 -0
- package/dist/client/groups.js.map +1 -0
- package/dist/client/http.d.ts +24 -12
- package/dist/client/http.js +20 -24
- package/dist/client/http.js.map +1 -1
- package/dist/client/index.d.ts +11 -6
- package/dist/client/media/api.d.ts +1 -1
- package/dist/client/media/api.js +4 -2
- package/dist/client/media/api.js.map +1 -1
- package/dist/client/media/client.d.ts +8 -9
- package/dist/client/media/client.js +58 -71
- package/dist/client/media/client.js.map +1 -1
- package/dist/client/media/ref.d.ts +30 -0
- package/dist/client/media/ref.js +10 -3
- package/dist/client/media/ref.js.map +1 -1
- package/dist/client/offers.d.ts +41 -0
- package/dist/client/offers.js +66 -0
- package/dist/client/offers.js.map +1 -0
- package/dist/client/route.d.ts +2 -0
- package/dist/client/route.js +2 -1
- package/dist/client/route.js.map +1 -1
- package/dist/client/versions.d.ts +20 -0
- package/dist/client/versions.js +53 -0
- package/dist/client/versions.js.map +1 -0
- package/dist/client.js +35 -30
- package/dist/components/admin/content-manager.d.ts +80 -0
- package/dist/components/admin/content-manager.js +591 -0
- package/dist/components/admin/content-manager.js.map +1 -0
- package/dist/components/admin/group-manager.d.ts +24 -0
- package/dist/components/admin/group-manager.js +244 -0
- package/dist/components/admin/group-manager.js.map +1 -0
- package/dist/components/admin/media-item-panel.js +1 -1
- package/dist/components/admin/media-item-panel.js.map +1 -1
- package/dist/components/content/card.d.ts +44 -0
- package/dist/components/content/card.js +285 -0
- package/dist/components/content/card.js.map +1 -0
- package/dist/components/content/editors.d.ts +40 -0
- package/dist/components/content/editors.js +764 -0
- package/dist/components/content/editors.js.map +1 -0
- package/dist/components/content/filters.d.ts +28 -0
- package/dist/components/content/filters.js +134 -0
- package/dist/components/content/filters.js.map +1 -0
- package/dist/components/content/grid.d.ts +62 -0
- package/dist/components/content/grid.js +233 -0
- package/dist/components/content/grid.js.map +1 -0
- package/dist/components/content/index.d.ts +8 -0
- package/dist/components/content/listing.d.ts +20 -0
- package/dist/components/content/listing.js +150 -0
- package/dist/components/content/listing.js.map +1 -0
- package/dist/components/content/offer-fields.d.ts +8 -0
- package/dist/components/content/offer-fields.js +127 -0
- package/dist/components/content/offer-fields.js.map +1 -0
- package/dist/components/content/paywall.d.ts +53 -0
- package/dist/components/content/paywall.js +221 -0
- package/dist/components/content/paywall.js.map +1 -0
- package/dist/components/content/search.d.ts +27 -0
- package/dist/components/content/search.js +164 -0
- package/dist/components/content/search.js.map +1 -0
- package/dist/components/groups/banner.d.ts +51 -0
- package/dist/components/groups/banner.js +194 -0
- package/dist/components/groups/banner.js.map +1 -0
- package/dist/components/groups/directory.d.ts +37 -0
- package/dist/components/groups/directory.js +117 -0
- package/dist/components/groups/directory.js.map +1 -0
- package/dist/components/groups/editor.d.ts +44 -0
- package/dist/components/groups/editor.js +860 -0
- package/dist/components/groups/editor.js.map +1 -0
- package/dist/components/groups/fields.d.ts +13 -0
- package/dist/components/groups/fields.js +68 -0
- package/dist/components/groups/fields.js.map +1 -0
- package/dist/components/groups/header.d.ts +25 -0
- package/dist/components/groups/header.js +131 -0
- package/dist/components/groups/header.js.map +1 -0
- package/dist/components/groups/index.d.ts +6 -0
- package/dist/components/groups/memberships.d.ts +55 -0
- package/dist/components/groups/memberships.js +527 -0
- package/dist/components/groups/memberships.js.map +1 -0
- package/dist/components/groups/parts.d.ts +49 -0
- package/dist/components/groups/parts.js +172 -0
- package/dist/components/groups/parts.js.map +1 -0
- package/dist/components/media-folder-editor.js +153 -152
- package/dist/components/media-folder-editor.js.map +1 -1
- package/dist/components/social/comments.d.ts +7 -5
- package/dist/components/social/comments.js +6 -2
- package/dist/components/social/comments.js.map +1 -1
- package/dist/components/social/engagement.d.ts +4 -3
- package/dist/components/social/engagement.js.map +1 -1
- package/dist/components/social/moderation.d.ts +1 -1
- package/dist/components/social/moderation.js +3 -3
- package/dist/components/social/moderation.js.map +1 -1
- package/dist/editor/rich-text-editor.d.ts +4 -4
- package/dist/editor/rich-text-editor.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +23 -9
- package/dist/locales/admin/de.js +5 -66
- package/dist/locales/admin/de.js.map +1 -1
- package/dist/locales/admin/en.d.ts +5 -66
- package/dist/locales/admin/en.js +19 -80
- package/dist/locales/admin/en.js.map +1 -1
- package/dist/locales/admin/es.js +5 -66
- package/dist/locales/admin/es.js.map +1 -1
- package/dist/locales/admin/ja.js +5 -66
- package/dist/locales/admin/ja.js.map +1 -1
- package/dist/locales/admin/ko.js +5 -66
- package/dist/locales/admin/ko.js.map +1 -1
- package/dist/locales/admin/zh.js +5 -66
- package/dist/locales/admin/zh.js.map +1 -1
- package/dist/locales/content/de.d.ts +2 -0
- package/dist/locales/content/de.js +98 -0
- package/dist/locales/content/de.js.map +1 -0
- package/dist/locales/content/en.d.ts +93 -0
- package/dist/locales/content/en.js +98 -0
- package/dist/locales/content/en.js.map +1 -0
- package/dist/locales/content/es.d.ts +2 -0
- package/dist/locales/content/es.js +98 -0
- package/dist/locales/content/es.js.map +1 -0
- package/dist/locales/content/ja.d.ts +2 -0
- package/dist/locales/content/ja.js +98 -0
- package/dist/locales/content/ja.js.map +1 -0
- package/dist/locales/content/ko.d.ts +2 -0
- package/dist/locales/content/ko.js +98 -0
- package/dist/locales/content/ko.js.map +1 -0
- package/dist/locales/content/zh.d.ts +2 -0
- package/dist/locales/content/zh.js +98 -0
- package/dist/locales/content/zh.js.map +1 -0
- package/dist/locales/de.js +11 -2
- package/dist/locales/de.js.map +1 -1
- package/dist/locales/discovery/de.d.ts +2 -0
- package/dist/locales/discovery/de.js +68 -0
- package/dist/locales/discovery/de.js.map +1 -0
- package/dist/locales/discovery/en.d.ts +63 -0
- package/dist/locales/discovery/en.js +68 -0
- package/dist/locales/discovery/en.js.map +1 -0
- package/dist/locales/discovery/es.d.ts +2 -0
- package/dist/locales/discovery/es.js +68 -0
- package/dist/locales/discovery/es.js.map +1 -0
- package/dist/locales/discovery/ja.d.ts +2 -0
- package/dist/locales/discovery/ja.js +68 -0
- package/dist/locales/discovery/ja.js.map +1 -0
- package/dist/locales/discovery/ko.d.ts +2 -0
- package/dist/locales/discovery/ko.js +68 -0
- package/dist/locales/discovery/ko.js.map +1 -0
- package/dist/locales/discovery/zh.d.ts +2 -0
- package/dist/locales/discovery/zh.js +68 -0
- package/dist/locales/discovery/zh.js.map +1 -0
- package/dist/locales/en.d.ts +288 -67
- package/dist/locales/en.js +11 -2
- package/dist/locales/en.js.map +1 -1
- package/dist/locales/es.js +11 -2
- package/dist/locales/es.js.map +1 -1
- package/dist/locales/groups/de.d.ts +2 -0
- package/dist/locales/groups/de.js +133 -0
- package/dist/locales/groups/de.js.map +1 -0
- package/dist/locales/groups/en.d.ts +128 -0
- package/dist/locales/groups/en.js +133 -0
- package/dist/locales/groups/en.js.map +1 -0
- package/dist/locales/groups/es.d.ts +2 -0
- package/dist/locales/groups/es.js +133 -0
- package/dist/locales/groups/es.js.map +1 -0
- package/dist/locales/groups/ja.d.ts +2 -0
- package/dist/locales/groups/ja.js +133 -0
- package/dist/locales/groups/ja.js.map +1 -0
- package/dist/locales/groups/ko.d.ts +2 -0
- package/dist/locales/groups/ko.js +133 -0
- package/dist/locales/groups/ko.js.map +1 -0
- package/dist/locales/groups/zh.d.ts +2 -0
- package/dist/locales/groups/zh.js +133 -0
- package/dist/locales/groups/zh.js.map +1 -0
- package/dist/locales/ja.js +11 -2
- package/dist/locales/ja.js.map +1 -1
- package/dist/locales/ko.js +11 -2
- package/dist/locales/ko.js.map +1 -1
- package/dist/locales/social/de.js +2 -1
- package/dist/locales/social/de.js.map +1 -1
- package/dist/locales/social/en.d.ts +2 -1
- package/dist/locales/social/en.js +2 -1
- package/dist/locales/social/en.js.map +1 -1
- package/dist/locales/social/es.js +2 -1
- package/dist/locales/social/es.js.map +1 -1
- package/dist/locales/social/ja.js +2 -1
- package/dist/locales/social/ja.js.map +1 -1
- package/dist/locales/social/ko.js +2 -1
- package/dist/locales/social/ko.js.map +1 -1
- package/dist/locales/social/zh.js +2 -1
- package/dist/locales/social/zh.js.map +1 -1
- package/dist/locales/zh.js +11 -2
- package/dist/locales/zh.js.map +1 -1
- package/dist/react/admin.d.ts +1 -1
- package/dist/react/admin.js +8 -6
- package/dist/react/admin.js.map +1 -1
- package/dist/react/comments.d.ts +9 -7
- package/dist/react/comments.js +42 -27
- package/dist/react/comments.js.map +1 -1
- package/dist/react/contents.d.ts +57 -0
- package/dist/react/contents.js +214 -0
- package/dist/react/contents.js.map +1 -0
- package/dist/react/context.d.ts +1 -1
- package/dist/react/context.js.map +1 -1
- package/dist/react/crop.js +45 -44
- package/dist/react/crop.js.map +1 -1
- package/dist/react/detail.d.ts +30 -0
- package/dist/react/detail.js +42 -0
- package/dist/react/detail.js.map +1 -0
- package/dist/react/discovery.d.ts +138 -0
- package/dist/react/discovery.js +299 -0
- package/dist/react/discovery.js.map +1 -0
- package/dist/react/engagement.d.ts +5 -5
- package/dist/react/engagement.js +55 -41
- package/dist/react/engagement.js.map +1 -1
- package/dist/react/folder.js +54 -53
- package/dist/react/folder.js.map +1 -1
- package/dist/react/groups.d.ts +115 -0
- package/dist/react/groups.js +229 -0
- package/dist/react/groups.js.map +1 -0
- package/dist/react/index.d.ts +5 -1
- package/dist/react/public.d.ts +6 -5
- package/dist/react/public.js +19 -22
- package/dist/react/public.js.map +1 -1
- package/dist/react/read.js +105 -106
- package/dist/react/read.js.map +1 -1
- package/dist/react/resources.d.ts +2 -2
- package/dist/react/resources.js +69 -40
- package/dist/react/resources.js.map +1 -1
- package/dist/react/store.js +41 -39
- package/dist/react/store.js.map +1 -1
- package/dist/react/upload.js +54 -53
- package/dist/react/upload.js.map +1 -1
- package/dist/react/use-resource.d.ts +2 -1
- package/dist/react/use-resource.js +1 -0
- package/dist/react/use-resource.js.map +1 -1
- package/dist/react/versions.d.ts +57 -0
- package/dist/react/versions.js +94 -0
- package/dist/react/versions.js.map +1 -0
- package/dist/react/video.js +87 -86
- package/dist/react/video.js.map +1 -1
- package/dist/react.js +9 -5
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/client/content/posts.d.ts +0 -52
- package/dist/client/content/posts.js +0 -84
- package/dist/client/content/posts.js.map +0 -1
- package/dist/client/taxonomy.d.ts +0 -34
- package/dist/client/taxonomy.js +0 -84
- package/dist/client/taxonomy.js.map +0 -1
- package/dist/components/admin/post-manager.d.ts +0 -45
- package/dist/components/admin/post-manager.js +0 -602
- package/dist/components/admin/post-manager.js.map +0 -1
- package/dist/components/admin/taxonomy-manager.d.ts +0 -54
- package/dist/components/admin/taxonomy-manager.js +0 -976
- package/dist/components/admin/taxonomy-manager.js.map +0 -1
- package/dist/react/posts.d.ts +0 -61
- package/dist/react/posts.js +0 -183
- package/dist/react/posts.js.map +0 -1
|
@@ -1,70 +1,57 @@
|
|
|
1
1
|
//#region src/client/generated/routes.ts
|
|
2
|
-
var e =
|
|
2
|
+
var e = {
|
|
3
|
+
kinds: "/v1",
|
|
4
|
+
content: "/v1",
|
|
5
|
+
contents: "/v1",
|
|
6
|
+
upload: "/v1/media/upload",
|
|
7
|
+
media: "/v1/media",
|
|
8
|
+
codes: "/v1/codes",
|
|
9
|
+
groups: "/v1",
|
|
10
|
+
notifications: "/v1/notifications",
|
|
11
|
+
versions: "/v1",
|
|
12
|
+
offers: "/v1",
|
|
13
|
+
discovery: "/v1",
|
|
14
|
+
import: "/v1"
|
|
15
|
+
}, t = [
|
|
3
16
|
{
|
|
4
17
|
method: "GET",
|
|
5
|
-
module: "
|
|
6
|
-
path: "/
|
|
18
|
+
module: "kinds",
|
|
19
|
+
path: "/kinds",
|
|
7
20
|
auth: "open",
|
|
8
21
|
permission: null,
|
|
9
22
|
query: [],
|
|
10
23
|
request: null,
|
|
11
|
-
responses: { 200: "
|
|
24
|
+
responses: { 200: "ContentModel" },
|
|
12
25
|
errors: [],
|
|
13
|
-
errorSets: ["module:
|
|
26
|
+
errorSets: ["module:kinds"]
|
|
14
27
|
},
|
|
15
28
|
{
|
|
16
29
|
method: "GET",
|
|
17
30
|
module: "content",
|
|
18
|
-
path: "/
|
|
19
|
-
auth: "
|
|
31
|
+
path: "/config",
|
|
32
|
+
auth: "open",
|
|
20
33
|
permission: null,
|
|
21
|
-
query: [
|
|
22
|
-
"language",
|
|
23
|
-
"sort",
|
|
24
|
-
"limit",
|
|
25
|
-
"offset"
|
|
26
|
-
],
|
|
34
|
+
query: [],
|
|
27
35
|
request: null,
|
|
28
|
-
responses: { 200: "
|
|
36
|
+
responses: { 200: "Config" },
|
|
29
37
|
errors: [],
|
|
30
|
-
errorSets: [
|
|
31
|
-
"module:content",
|
|
32
|
-
"auth",
|
|
33
|
-
"request"
|
|
34
|
-
]
|
|
38
|
+
errorSets: ["module:content"]
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
method: "GET",
|
|
38
42
|
module: "content",
|
|
39
|
-
path: "/
|
|
40
|
-
auth: "
|
|
41
|
-
permission:
|
|
43
|
+
path: "/contents/{id}/comments",
|
|
44
|
+
auth: "public",
|
|
45
|
+
permission: null,
|
|
42
46
|
query: [
|
|
47
|
+
"version",
|
|
43
48
|
"language",
|
|
44
|
-
"
|
|
45
|
-
"deleted",
|
|
46
|
-
"q",
|
|
49
|
+
"sort",
|
|
47
50
|
"limit",
|
|
48
51
|
"offset"
|
|
49
52
|
],
|
|
50
53
|
request: null,
|
|
51
|
-
responses: { 200: "
|
|
52
|
-
errors: [],
|
|
53
|
-
errorSets: [
|
|
54
|
-
"module:content",
|
|
55
|
-
"auth",
|
|
56
|
-
"request"
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
method: "GET",
|
|
61
|
-
module: "content",
|
|
62
|
-
path: "/posts/{id}",
|
|
63
|
-
auth: "public",
|
|
64
|
-
permission: null,
|
|
65
|
-
query: [],
|
|
66
|
-
request: null,
|
|
67
|
-
responses: { 200: "Post" },
|
|
54
|
+
responses: { 200: "Comment[]" },
|
|
68
55
|
errors: ["not_found"],
|
|
69
56
|
errorSets: [
|
|
70
57
|
"module:content",
|
|
@@ -75,43 +62,24 @@ var e = [
|
|
|
75
62
|
{
|
|
76
63
|
method: "POST",
|
|
77
64
|
module: "content",
|
|
78
|
-
path: "/
|
|
79
|
-
auth: "
|
|
80
|
-
permission:
|
|
81
|
-
query: [],
|
|
82
|
-
request: "
|
|
83
|
-
responses: {
|
|
84
|
-
201: "Post",
|
|
85
|
-
202: "Post"
|
|
86
|
-
},
|
|
87
|
-
errors: [
|
|
88
|
-
"conflict",
|
|
89
|
-
"forbidden",
|
|
90
|
-
"moderation_rejected"
|
|
91
|
-
],
|
|
92
|
-
errorSets: [
|
|
93
|
-
"module:content",
|
|
94
|
-
"auth",
|
|
95
|
-
"request"
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
method: "PATCH",
|
|
100
|
-
module: "content",
|
|
101
|
-
path: "/posts/{id}",
|
|
102
|
-
auth: "staff",
|
|
103
|
-
permission: "root:posts:write",
|
|
104
|
-
query: [],
|
|
105
|
-
request: "PostInput",
|
|
65
|
+
path: "/contents/{id}/comments",
|
|
66
|
+
auth: "public",
|
|
67
|
+
permission: null,
|
|
68
|
+
query: ["version"],
|
|
69
|
+
request: "CommentInput",
|
|
106
70
|
responses: {
|
|
107
|
-
|
|
108
|
-
202: "
|
|
71
|
+
201: "Comment",
|
|
72
|
+
202: "Comment"
|
|
109
73
|
},
|
|
110
74
|
errors: [
|
|
111
|
-
"
|
|
75
|
+
"comment_banned",
|
|
76
|
+
"comment_too_long",
|
|
77
|
+
"comments_closed",
|
|
112
78
|
"forbidden",
|
|
113
79
|
"moderation_rejected",
|
|
114
|
-
"not_found"
|
|
80
|
+
"not_found",
|
|
81
|
+
"rate_limited",
|
|
82
|
+
"unauthorized"
|
|
115
83
|
],
|
|
116
84
|
errorSets: [
|
|
117
85
|
"module:content",
|
|
@@ -119,77 +87,14 @@ var e = [
|
|
|
119
87
|
"request"
|
|
120
88
|
]
|
|
121
89
|
},
|
|
122
|
-
{
|
|
123
|
-
method: "DELETE",
|
|
124
|
-
module: "content",
|
|
125
|
-
path: "/posts/{id}",
|
|
126
|
-
auth: "staff",
|
|
127
|
-
permission: "root:posts:write",
|
|
128
|
-
query: [],
|
|
129
|
-
request: null,
|
|
130
|
-
responses: { 204: null },
|
|
131
|
-
errors: ["not_found"],
|
|
132
|
-
errorSets: [
|
|
133
|
-
"module:content",
|
|
134
|
-
"auth",
|
|
135
|
-
"request"
|
|
136
|
-
]
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
method: "POST",
|
|
140
|
-
module: "content",
|
|
141
|
-
path: "/posts/{id}/restore",
|
|
142
|
-
auth: "staff",
|
|
143
|
-
permission: "root:posts:write",
|
|
144
|
-
query: [],
|
|
145
|
-
request: null,
|
|
146
|
-
responses: { 200: "Post" },
|
|
147
|
-
errors: ["conflict", "not_found"],
|
|
148
|
-
errorSets: [
|
|
149
|
-
"module:content",
|
|
150
|
-
"auth",
|
|
151
|
-
"request"
|
|
152
|
-
]
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
method: "PUT",
|
|
156
|
-
module: "content",
|
|
157
|
-
path: "/posts/{id}/cover",
|
|
158
|
-
auth: "staff",
|
|
159
|
-
permission: "root:posts:write",
|
|
160
|
-
query: [],
|
|
161
|
-
request: "ImageInput",
|
|
162
|
-
responses: { 200: "PostCover" },
|
|
163
|
-
errors: ["not_configured", "not_found"],
|
|
164
|
-
errorSets: [
|
|
165
|
-
"module:content",
|
|
166
|
-
"auth",
|
|
167
|
-
"request"
|
|
168
|
-
]
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
method: "POST",
|
|
172
|
-
module: "content",
|
|
173
|
-
path: "/posts/{id}/images",
|
|
174
|
-
auth: "staff",
|
|
175
|
-
permission: "root:posts:write",
|
|
176
|
-
query: [],
|
|
177
|
-
request: "ImageInput",
|
|
178
|
-
responses: { 200: "InlineImage" },
|
|
179
|
-
errors: ["not_configured", "not_found"],
|
|
180
|
-
errorSets: [
|
|
181
|
-
"module:content",
|
|
182
|
-
"auth",
|
|
183
|
-
"request"
|
|
184
|
-
]
|
|
185
|
-
},
|
|
186
90
|
{
|
|
187
91
|
method: "GET",
|
|
188
92
|
module: "content",
|
|
189
|
-
path: "/
|
|
93
|
+
path: "/groups/{id}/comments",
|
|
190
94
|
auth: "public",
|
|
191
95
|
permission: null,
|
|
192
96
|
query: [
|
|
97
|
+
"language",
|
|
193
98
|
"sort",
|
|
194
99
|
"limit",
|
|
195
100
|
"offset"
|
|
@@ -206,7 +111,7 @@ var e = [
|
|
|
206
111
|
{
|
|
207
112
|
method: "POST",
|
|
208
113
|
module: "content",
|
|
209
|
-
path: "/
|
|
114
|
+
path: "/groups/{id}/comments",
|
|
210
115
|
auth: "public",
|
|
211
116
|
permission: null,
|
|
212
117
|
query: [],
|
|
@@ -218,6 +123,7 @@ var e = [
|
|
|
218
123
|
errors: [
|
|
219
124
|
"comment_banned",
|
|
220
125
|
"comment_too_long",
|
|
126
|
+
"comments_closed",
|
|
221
127
|
"forbidden",
|
|
222
128
|
"moderation_rejected",
|
|
223
129
|
"not_found",
|
|
@@ -236,7 +142,11 @@ var e = [
|
|
|
236
142
|
path: "/comments/latest",
|
|
237
143
|
auth: "public",
|
|
238
144
|
permission: null,
|
|
239
|
-
query: [
|
|
145
|
+
query: [
|
|
146
|
+
"language",
|
|
147
|
+
"limit",
|
|
148
|
+
"offset"
|
|
149
|
+
],
|
|
240
150
|
request: null,
|
|
241
151
|
responses: { 200: "FeedItem[]" },
|
|
242
152
|
errors: [],
|
|
@@ -314,6 +224,7 @@ var e = [
|
|
|
314
224
|
errors: [
|
|
315
225
|
"comment_banned",
|
|
316
226
|
"comment_too_long",
|
|
227
|
+
"comments_closed",
|
|
317
228
|
"conflict",
|
|
318
229
|
"forbidden",
|
|
319
230
|
"moderation_rejected",
|
|
@@ -410,11 +321,47 @@ var e = [
|
|
|
410
321
|
{
|
|
411
322
|
method: "POST",
|
|
412
323
|
module: "content",
|
|
413
|
-
path: "/
|
|
414
|
-
auth: "
|
|
324
|
+
path: "/comments/{cid}/hold",
|
|
325
|
+
auth: "user",
|
|
326
|
+
permission: null,
|
|
327
|
+
query: [],
|
|
328
|
+
request: null,
|
|
329
|
+
responses: { 204: null },
|
|
330
|
+
errors: [
|
|
331
|
+
"conflict",
|
|
332
|
+
"forbidden",
|
|
333
|
+
"not_found"
|
|
334
|
+
],
|
|
335
|
+
errorSets: [
|
|
336
|
+
"module:content",
|
|
337
|
+
"auth",
|
|
338
|
+
"request"
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
method: "POST",
|
|
343
|
+
module: "content",
|
|
344
|
+
path: "/comments/{cid}/release",
|
|
345
|
+
auth: "user",
|
|
415
346
|
permission: null,
|
|
416
347
|
query: [],
|
|
417
348
|
request: null,
|
|
349
|
+
responses: { 204: null },
|
|
350
|
+
errors: ["forbidden", "not_found"],
|
|
351
|
+
errorSets: [
|
|
352
|
+
"module:content",
|
|
353
|
+
"auth",
|
|
354
|
+
"request"
|
|
355
|
+
]
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
method: "POST",
|
|
359
|
+
module: "content",
|
|
360
|
+
path: "/contents/{id}/like",
|
|
361
|
+
auth: "public",
|
|
362
|
+
permission: null,
|
|
363
|
+
query: ["version"],
|
|
364
|
+
request: null,
|
|
418
365
|
responses: { 200: "ReactionCounts" },
|
|
419
366
|
errors: [
|
|
420
367
|
"forbidden",
|
|
@@ -432,10 +379,10 @@ var e = [
|
|
|
432
379
|
{
|
|
433
380
|
method: "POST",
|
|
434
381
|
module: "content",
|
|
435
|
-
path: "/
|
|
382
|
+
path: "/contents/{id}/dislike",
|
|
436
383
|
auth: "public",
|
|
437
384
|
permission: null,
|
|
438
|
-
query: [],
|
|
385
|
+
query: ["version"],
|
|
439
386
|
request: null,
|
|
440
387
|
responses: { 200: "ReactionCounts" },
|
|
441
388
|
errors: [
|
|
@@ -454,10 +401,10 @@ var e = [
|
|
|
454
401
|
{
|
|
455
402
|
method: "DELETE",
|
|
456
403
|
module: "content",
|
|
457
|
-
path: "/
|
|
404
|
+
path: "/contents/{id}/reaction",
|
|
458
405
|
auth: "public",
|
|
459
406
|
permission: null,
|
|
460
|
-
query: [],
|
|
407
|
+
query: ["version"],
|
|
461
408
|
request: null,
|
|
462
409
|
responses: { 200: "ReactionCounts" },
|
|
463
410
|
errors: [
|
|
@@ -476,10 +423,10 @@ var e = [
|
|
|
476
423
|
{
|
|
477
424
|
method: "GET",
|
|
478
425
|
module: "content",
|
|
479
|
-
path: "/
|
|
426
|
+
path: "/contents/{id}/reaction",
|
|
480
427
|
auth: "public",
|
|
481
428
|
permission: null,
|
|
482
|
-
query: [],
|
|
429
|
+
query: ["version"],
|
|
483
430
|
request: null,
|
|
484
431
|
responses: { 200: "ReactionCounts" },
|
|
485
432
|
errors: ["not_found"],
|
|
@@ -490,15 +437,21 @@ var e = [
|
|
|
490
437
|
]
|
|
491
438
|
},
|
|
492
439
|
{
|
|
493
|
-
method: "
|
|
440
|
+
method: "POST",
|
|
494
441
|
module: "content",
|
|
495
|
-
path: "/
|
|
496
|
-
auth: "
|
|
442
|
+
path: "/groups/{id}/like",
|
|
443
|
+
auth: "public",
|
|
497
444
|
permission: null,
|
|
498
|
-
query: [
|
|
445
|
+
query: [],
|
|
499
446
|
request: null,
|
|
500
|
-
responses: { 200: "
|
|
501
|
-
errors: [
|
|
447
|
+
responses: { 200: "ReactionCounts" },
|
|
448
|
+
errors: [
|
|
449
|
+
"forbidden",
|
|
450
|
+
"invalid_request",
|
|
451
|
+
"not_found",
|
|
452
|
+
"rate_limited",
|
|
453
|
+
"unauthorized"
|
|
454
|
+
],
|
|
502
455
|
errorSets: [
|
|
503
456
|
"module:content",
|
|
504
457
|
"auth",
|
|
@@ -508,16 +461,18 @@ var e = [
|
|
|
508
461
|
{
|
|
509
462
|
method: "POST",
|
|
510
463
|
module: "content",
|
|
511
|
-
path: "/
|
|
512
|
-
auth: "
|
|
464
|
+
path: "/groups/{id}/dislike",
|
|
465
|
+
auth: "public",
|
|
513
466
|
permission: null,
|
|
514
467
|
query: [],
|
|
515
468
|
request: null,
|
|
516
|
-
responses: { 200: "
|
|
469
|
+
responses: { 200: "ReactionCounts" },
|
|
517
470
|
errors: [
|
|
518
471
|
"forbidden",
|
|
472
|
+
"invalid_request",
|
|
519
473
|
"not_found",
|
|
520
|
-
"rate_limited"
|
|
474
|
+
"rate_limited",
|
|
475
|
+
"unauthorized"
|
|
521
476
|
],
|
|
522
477
|
errorSets: [
|
|
523
478
|
"module:content",
|
|
@@ -528,16 +483,18 @@ var e = [
|
|
|
528
483
|
{
|
|
529
484
|
method: "DELETE",
|
|
530
485
|
module: "content",
|
|
531
|
-
path: "/
|
|
532
|
-
auth: "
|
|
486
|
+
path: "/groups/{id}/reaction",
|
|
487
|
+
auth: "public",
|
|
533
488
|
permission: null,
|
|
534
489
|
query: [],
|
|
535
490
|
request: null,
|
|
536
|
-
responses: { 200: "
|
|
491
|
+
responses: { 200: "ReactionCounts" },
|
|
537
492
|
errors: [
|
|
538
493
|
"forbidden",
|
|
539
494
|
"invalid_request",
|
|
540
|
-
"
|
|
495
|
+
"not_found",
|
|
496
|
+
"rate_limited",
|
|
497
|
+
"unauthorized"
|
|
541
498
|
],
|
|
542
499
|
errorSets: [
|
|
543
500
|
"module:content",
|
|
@@ -548,13 +505,13 @@ var e = [
|
|
|
548
505
|
{
|
|
549
506
|
method: "GET",
|
|
550
507
|
module: "content",
|
|
551
|
-
path: "/
|
|
508
|
+
path: "/groups/{id}/reaction",
|
|
552
509
|
auth: "public",
|
|
553
510
|
permission: null,
|
|
554
511
|
query: [],
|
|
555
512
|
request: null,
|
|
556
|
-
responses: { 200: "
|
|
557
|
-
errors: ["
|
|
513
|
+
responses: { 200: "ReactionCounts" },
|
|
514
|
+
errors: ["not_found"],
|
|
558
515
|
errorSets: [
|
|
559
516
|
"module:content",
|
|
560
517
|
"auth",
|
|
@@ -562,21 +519,19 @@ var e = [
|
|
|
562
519
|
]
|
|
563
520
|
},
|
|
564
521
|
{
|
|
565
|
-
method: "
|
|
522
|
+
method: "POST",
|
|
566
523
|
module: "content",
|
|
567
|
-
path: "/
|
|
568
|
-
auth: "
|
|
524
|
+
path: "/contents/{id}/favorite",
|
|
525
|
+
auth: "user",
|
|
569
526
|
permission: null,
|
|
570
|
-
query: [
|
|
571
|
-
"language",
|
|
572
|
-
"month",
|
|
573
|
-
"date",
|
|
574
|
-
"limit",
|
|
575
|
-
"offset"
|
|
576
|
-
],
|
|
527
|
+
query: ["version"],
|
|
577
528
|
request: null,
|
|
578
|
-
responses: { 200: "
|
|
579
|
-
errors: [
|
|
529
|
+
responses: { 200: "FavoriteState" },
|
|
530
|
+
errors: [
|
|
531
|
+
"forbidden",
|
|
532
|
+
"not_found",
|
|
533
|
+
"rate_limited"
|
|
534
|
+
],
|
|
580
535
|
errorSets: [
|
|
581
536
|
"module:content",
|
|
582
537
|
"auth",
|
|
@@ -584,23 +539,20 @@ var e = [
|
|
|
584
539
|
]
|
|
585
540
|
},
|
|
586
541
|
{
|
|
587
|
-
method: "
|
|
542
|
+
method: "DELETE",
|
|
588
543
|
module: "content",
|
|
589
|
-
path: "/
|
|
590
|
-
auth: "
|
|
591
|
-
permission:
|
|
592
|
-
query: [
|
|
593
|
-
"language",
|
|
594
|
-
"month",
|
|
595
|
-
"date",
|
|
596
|
-
"state",
|
|
597
|
-
"q",
|
|
598
|
-
"limit",
|
|
599
|
-
"offset"
|
|
600
|
-
],
|
|
544
|
+
path: "/contents/{id}/favorite",
|
|
545
|
+
auth: "user",
|
|
546
|
+
permission: null,
|
|
547
|
+
query: ["version"],
|
|
601
548
|
request: null,
|
|
602
|
-
responses: { 200: "
|
|
603
|
-
errors: [
|
|
549
|
+
responses: { 200: "FavoriteState" },
|
|
550
|
+
errors: [
|
|
551
|
+
"forbidden",
|
|
552
|
+
"invalid_request",
|
|
553
|
+
"not_found",
|
|
554
|
+
"rate_limited"
|
|
555
|
+
],
|
|
604
556
|
errorSets: [
|
|
605
557
|
"module:content",
|
|
606
558
|
"auth",
|
|
@@ -610,13 +562,132 @@ var e = [
|
|
|
610
562
|
{
|
|
611
563
|
method: "GET",
|
|
612
564
|
module: "content",
|
|
613
|
-
path: "/
|
|
565
|
+
path: "/contents/{id}/favorite",
|
|
614
566
|
auth: "public",
|
|
615
567
|
permission: null,
|
|
616
|
-
query: [],
|
|
568
|
+
query: ["version"],
|
|
617
569
|
request: null,
|
|
618
|
-
responses: { 200: "
|
|
619
|
-
errors: ["not_found"],
|
|
570
|
+
responses: { 200: "FavoriteState" },
|
|
571
|
+
errors: ["invalid_request", "not_found"],
|
|
572
|
+
errorSets: [
|
|
573
|
+
"module:content",
|
|
574
|
+
"auth",
|
|
575
|
+
"request"
|
|
576
|
+
]
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
method: "POST",
|
|
580
|
+
module: "content",
|
|
581
|
+
path: "/groups/{id}/favorite",
|
|
582
|
+
auth: "user",
|
|
583
|
+
permission: null,
|
|
584
|
+
query: [],
|
|
585
|
+
request: null,
|
|
586
|
+
responses: { 200: "FavoriteState" },
|
|
587
|
+
errors: [
|
|
588
|
+
"forbidden",
|
|
589
|
+
"not_found",
|
|
590
|
+
"rate_limited"
|
|
591
|
+
],
|
|
592
|
+
errorSets: [
|
|
593
|
+
"module:content",
|
|
594
|
+
"auth",
|
|
595
|
+
"request"
|
|
596
|
+
]
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
method: "DELETE",
|
|
600
|
+
module: "content",
|
|
601
|
+
path: "/groups/{id}/favorite",
|
|
602
|
+
auth: "user",
|
|
603
|
+
permission: null,
|
|
604
|
+
query: [],
|
|
605
|
+
request: null,
|
|
606
|
+
responses: { 200: "FavoriteState" },
|
|
607
|
+
errors: [
|
|
608
|
+
"forbidden",
|
|
609
|
+
"invalid_request",
|
|
610
|
+
"not_found",
|
|
611
|
+
"rate_limited"
|
|
612
|
+
],
|
|
613
|
+
errorSets: [
|
|
614
|
+
"module:content",
|
|
615
|
+
"auth",
|
|
616
|
+
"request"
|
|
617
|
+
]
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
method: "GET",
|
|
621
|
+
module: "content",
|
|
622
|
+
path: "/groups/{id}/favorite",
|
|
623
|
+
auth: "public",
|
|
624
|
+
permission: null,
|
|
625
|
+
query: [],
|
|
626
|
+
request: null,
|
|
627
|
+
responses: { 200: "FavoriteState" },
|
|
628
|
+
errors: ["invalid_request", "not_found"],
|
|
629
|
+
errorSets: [
|
|
630
|
+
"module:content",
|
|
631
|
+
"auth",
|
|
632
|
+
"request"
|
|
633
|
+
]
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
method: "GET",
|
|
637
|
+
module: "content",
|
|
638
|
+
path: "/polls",
|
|
639
|
+
auth: "public",
|
|
640
|
+
permission: null,
|
|
641
|
+
query: [
|
|
642
|
+
"language",
|
|
643
|
+
"month",
|
|
644
|
+
"date",
|
|
645
|
+
"limit",
|
|
646
|
+
"offset"
|
|
647
|
+
],
|
|
648
|
+
request: null,
|
|
649
|
+
responses: { 200: "Poll[]" },
|
|
650
|
+
errors: [],
|
|
651
|
+
errorSets: [
|
|
652
|
+
"module:content",
|
|
653
|
+
"auth",
|
|
654
|
+
"request"
|
|
655
|
+
]
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
method: "GET",
|
|
659
|
+
module: "content",
|
|
660
|
+
path: "/polls/admin",
|
|
661
|
+
auth: "staff",
|
|
662
|
+
permission: "root:polls:write",
|
|
663
|
+
query: [
|
|
664
|
+
"language",
|
|
665
|
+
"month",
|
|
666
|
+
"date",
|
|
667
|
+
"state",
|
|
668
|
+
"q",
|
|
669
|
+
"limit",
|
|
670
|
+
"offset"
|
|
671
|
+
],
|
|
672
|
+
request: null,
|
|
673
|
+
responses: { 200: "Poll[]" },
|
|
674
|
+
errors: [],
|
|
675
|
+
errorSets: [
|
|
676
|
+
"module:content",
|
|
677
|
+
"auth",
|
|
678
|
+
"request"
|
|
679
|
+
]
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
method: "GET",
|
|
683
|
+
module: "content",
|
|
684
|
+
path: "/polls/{id}",
|
|
685
|
+
auth: "public",
|
|
686
|
+
permission: null,
|
|
687
|
+
query: [],
|
|
688
|
+
request: null,
|
|
689
|
+
responses: { 200: "Poll" },
|
|
690
|
+
errors: ["not_found"],
|
|
620
691
|
errorSets: [
|
|
621
692
|
"module:content",
|
|
622
693
|
"auth",
|
|
@@ -702,7 +773,9 @@ var e = [
|
|
|
702
773
|
request: "PollAnswerInput",
|
|
703
774
|
responses: { 200: "Poll" },
|
|
704
775
|
errors: [
|
|
776
|
+
"comment_banned",
|
|
705
777
|
"forbidden",
|
|
778
|
+
"moderation_rejected",
|
|
706
779
|
"not_found",
|
|
707
780
|
"rate_limited"
|
|
708
781
|
],
|
|
@@ -907,13 +980,13 @@ var e = [
|
|
|
907
980
|
{
|
|
908
981
|
method: "GET",
|
|
909
982
|
module: "content",
|
|
910
|
-
path: "/
|
|
911
|
-
auth: "
|
|
983
|
+
path: "/groups/{id}/held-comments",
|
|
984
|
+
auth: "user",
|
|
912
985
|
permission: null,
|
|
913
|
-
query: [],
|
|
986
|
+
query: ["cursor", "limit"],
|
|
914
987
|
request: null,
|
|
915
|
-
responses: { 200: "
|
|
916
|
-
errors: ["not_found"],
|
|
988
|
+
responses: { 200: "HeldPage" },
|
|
989
|
+
errors: ["forbidden", "not_found"],
|
|
917
990
|
errorSets: [
|
|
918
991
|
"module:content",
|
|
919
992
|
"auth",
|
|
@@ -923,17 +996,13 @@ var e = [
|
|
|
923
996
|
{
|
|
924
997
|
method: "GET",
|
|
925
998
|
module: "content",
|
|
926
|
-
path: "/
|
|
927
|
-
auth: "
|
|
928
|
-
permission:
|
|
929
|
-
query: [
|
|
930
|
-
"kind",
|
|
931
|
-
"cursor",
|
|
932
|
-
"limit"
|
|
933
|
-
],
|
|
999
|
+
path: "/groups/{id}/comment-bans",
|
|
1000
|
+
auth: "user",
|
|
1001
|
+
permission: null,
|
|
1002
|
+
query: ["limit", "offset"],
|
|
934
1003
|
request: null,
|
|
935
|
-
responses: { 200: "
|
|
936
|
-
errors: [],
|
|
1004
|
+
responses: { 200: "CommentBan[]" },
|
|
1005
|
+
errors: ["forbidden", "not_found"],
|
|
937
1006
|
errorSets: [
|
|
938
1007
|
"module:content",
|
|
939
1008
|
"auth",
|
|
@@ -941,15 +1010,15 @@ var e = [
|
|
|
941
1010
|
]
|
|
942
1011
|
},
|
|
943
1012
|
{
|
|
944
|
-
method: "
|
|
1013
|
+
method: "PUT",
|
|
945
1014
|
module: "content",
|
|
946
|
-
path: "/
|
|
947
|
-
auth: "
|
|
948
|
-
permission:
|
|
1015
|
+
path: "/groups/{id}/comment-bans/{user}",
|
|
1016
|
+
auth: "user",
|
|
1017
|
+
permission: null,
|
|
949
1018
|
query: [],
|
|
950
|
-
request: "
|
|
951
|
-
responses: { 200: "
|
|
952
|
-
errors: ["
|
|
1019
|
+
request: "BanInput",
|
|
1020
|
+
responses: { 200: "CommentBan" },
|
|
1021
|
+
errors: ["forbidden", "not_found"],
|
|
953
1022
|
errorSets: [
|
|
954
1023
|
"module:content",
|
|
955
1024
|
"auth",
|
|
@@ -957,597 +1026,1844 @@ var e = [
|
|
|
957
1026
|
]
|
|
958
1027
|
},
|
|
959
1028
|
{
|
|
960
|
-
method: "
|
|
961
|
-
module: "
|
|
962
|
-
path: "/
|
|
1029
|
+
method: "DELETE",
|
|
1030
|
+
module: "content",
|
|
1031
|
+
path: "/groups/{id}/comment-bans/{user}",
|
|
963
1032
|
auth: "user",
|
|
964
1033
|
permission: null,
|
|
965
1034
|
query: [],
|
|
966
|
-
request:
|
|
967
|
-
responses: {
|
|
968
|
-
errors: [
|
|
969
|
-
"conflict",
|
|
970
|
-
"forbidden",
|
|
971
|
-
"not_found",
|
|
972
|
-
"quota_exceeded",
|
|
973
|
-
"rate_limited",
|
|
974
|
-
"too_large",
|
|
975
|
-
"too_many_files",
|
|
976
|
-
"type_not_allowed"
|
|
977
|
-
],
|
|
1035
|
+
request: null,
|
|
1036
|
+
responses: { 204: null },
|
|
1037
|
+
errors: ["forbidden", "not_found"],
|
|
978
1038
|
errorSets: [
|
|
979
|
-
"module:
|
|
1039
|
+
"module:content",
|
|
980
1040
|
"auth",
|
|
981
1041
|
"request"
|
|
982
1042
|
]
|
|
983
1043
|
},
|
|
984
1044
|
{
|
|
985
|
-
method: "
|
|
986
|
-
module: "
|
|
987
|
-
path: "/
|
|
988
|
-
auth: "
|
|
1045
|
+
method: "GET",
|
|
1046
|
+
module: "content",
|
|
1047
|
+
path: "/contents/{id}/can-comment",
|
|
1048
|
+
auth: "public",
|
|
989
1049
|
permission: null,
|
|
990
|
-
query: [],
|
|
991
|
-
request:
|
|
992
|
-
responses: { 200: "
|
|
993
|
-
errors: ["
|
|
1050
|
+
query: ["version"],
|
|
1051
|
+
request: null,
|
|
1052
|
+
responses: { 200: "CommentStanding" },
|
|
1053
|
+
errors: ["not_found"],
|
|
994
1054
|
errorSets: [
|
|
995
|
-
"module:
|
|
1055
|
+
"module:content",
|
|
996
1056
|
"auth",
|
|
997
1057
|
"request"
|
|
998
1058
|
]
|
|
999
1059
|
},
|
|
1000
1060
|
{
|
|
1001
|
-
method: "
|
|
1002
|
-
module: "
|
|
1003
|
-
path: "/
|
|
1004
|
-
auth: "
|
|
1061
|
+
method: "GET",
|
|
1062
|
+
module: "content",
|
|
1063
|
+
path: "/groups/{id}/can-comment",
|
|
1064
|
+
auth: "public",
|
|
1005
1065
|
permission: null,
|
|
1006
1066
|
query: [],
|
|
1007
|
-
request:
|
|
1008
|
-
responses: { 200: "
|
|
1009
|
-
errors: ["
|
|
1067
|
+
request: null,
|
|
1068
|
+
responses: { 200: "CommentStanding" },
|
|
1069
|
+
errors: ["not_found"],
|
|
1010
1070
|
errorSets: [
|
|
1011
|
-
"module:
|
|
1071
|
+
"module:content",
|
|
1012
1072
|
"auth",
|
|
1013
1073
|
"request"
|
|
1014
1074
|
]
|
|
1015
1075
|
},
|
|
1016
1076
|
{
|
|
1017
|
-
method: "
|
|
1018
|
-
module: "
|
|
1019
|
-
path: "/
|
|
1020
|
-
auth: "
|
|
1021
|
-
permission:
|
|
1022
|
-
query: [
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
"checksum_mismatch",
|
|
1027
|
-
"forbidden",
|
|
1028
|
-
"incomplete",
|
|
1029
|
-
"not_found"
|
|
1077
|
+
method: "GET",
|
|
1078
|
+
module: "content",
|
|
1079
|
+
path: "/moderation/held",
|
|
1080
|
+
auth: "staff",
|
|
1081
|
+
permission: "root:moderation:review",
|
|
1082
|
+
query: [
|
|
1083
|
+
"kind",
|
|
1084
|
+
"cursor",
|
|
1085
|
+
"limit"
|
|
1030
1086
|
],
|
|
1087
|
+
request: null,
|
|
1088
|
+
responses: { 200: "HeldPage" },
|
|
1089
|
+
errors: [],
|
|
1031
1090
|
errorSets: [
|
|
1032
|
-
"module:
|
|
1091
|
+
"module:content",
|
|
1033
1092
|
"auth",
|
|
1034
1093
|
"request"
|
|
1035
1094
|
]
|
|
1036
1095
|
},
|
|
1037
1096
|
{
|
|
1038
1097
|
method: "POST",
|
|
1039
|
-
module: "
|
|
1040
|
-
path: "/
|
|
1041
|
-
auth: "
|
|
1042
|
-
permission:
|
|
1098
|
+
module: "content",
|
|
1099
|
+
path: "/moderation/{kind}/{id}/resolve",
|
|
1100
|
+
auth: "staff",
|
|
1101
|
+
permission: "root:moderation:review",
|
|
1043
1102
|
query: [],
|
|
1044
|
-
request: "
|
|
1045
|
-
responses: {
|
|
1046
|
-
errors: ["
|
|
1103
|
+
request: "ResolveInput",
|
|
1104
|
+
responses: { 200: "ReviewOutcome" },
|
|
1105
|
+
errors: ["conflict", "not_found"],
|
|
1047
1106
|
errorSets: [
|
|
1048
|
-
"module:
|
|
1107
|
+
"module:content",
|
|
1049
1108
|
"auth",
|
|
1050
1109
|
"request"
|
|
1051
1110
|
]
|
|
1052
1111
|
},
|
|
1053
1112
|
{
|
|
1054
|
-
method: "
|
|
1055
|
-
module: "
|
|
1056
|
-
path: "/
|
|
1057
|
-
auth: "
|
|
1058
|
-
permission:
|
|
1113
|
+
method: "GET",
|
|
1114
|
+
module: "content",
|
|
1115
|
+
path: "/moderation/banned-words",
|
|
1116
|
+
auth: "staff",
|
|
1117
|
+
permission: "root:comments:moderate",
|
|
1118
|
+
query: [],
|
|
1119
|
+
request: null,
|
|
1120
|
+
responses: { 200: "BannedWord[]" },
|
|
1121
|
+
errors: [],
|
|
1122
|
+
errorSets: ["module:content", "auth"]
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
method: "POST",
|
|
1126
|
+
module: "content",
|
|
1127
|
+
path: "/moderation/banned-words",
|
|
1128
|
+
auth: "staff",
|
|
1129
|
+
permission: "root:comments:moderate",
|
|
1130
|
+
query: [],
|
|
1131
|
+
request: "BannedWordInput[]",
|
|
1132
|
+
responses: { 200: "BannedWord[]" },
|
|
1133
|
+
errors: [],
|
|
1134
|
+
errorSets: [
|
|
1135
|
+
"module:content",
|
|
1136
|
+
"auth",
|
|
1137
|
+
"request"
|
|
1138
|
+
]
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
method: "DELETE",
|
|
1142
|
+
module: "content",
|
|
1143
|
+
path: "/moderation/banned-words",
|
|
1144
|
+
auth: "staff",
|
|
1145
|
+
permission: "root:comments:moderate",
|
|
1146
|
+
query: [],
|
|
1147
|
+
request: "string[]",
|
|
1148
|
+
responses: { 204: null },
|
|
1149
|
+
errors: [],
|
|
1150
|
+
errorSets: [
|
|
1151
|
+
"module:content",
|
|
1152
|
+
"auth",
|
|
1153
|
+
"request"
|
|
1154
|
+
]
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
method: "GET",
|
|
1158
|
+
module: "content",
|
|
1159
|
+
path: "/moderation/ip-bans",
|
|
1160
|
+
auth: "staff",
|
|
1161
|
+
permission: "root:comments:moderate",
|
|
1162
|
+
query: [],
|
|
1163
|
+
request: null,
|
|
1164
|
+
responses: { 200: "IPBan[]" },
|
|
1165
|
+
errors: [],
|
|
1166
|
+
errorSets: ["module:content", "auth"]
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
method: "POST",
|
|
1170
|
+
module: "content",
|
|
1171
|
+
path: "/moderation/ip-bans",
|
|
1172
|
+
auth: "staff",
|
|
1173
|
+
permission: "root:comments:moderate",
|
|
1174
|
+
query: [],
|
|
1175
|
+
request: "IPBanInput[]",
|
|
1176
|
+
responses: { 200: "IPBan[]" },
|
|
1177
|
+
errors: [],
|
|
1178
|
+
errorSets: [
|
|
1179
|
+
"module:content",
|
|
1180
|
+
"auth",
|
|
1181
|
+
"request"
|
|
1182
|
+
]
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
method: "DELETE",
|
|
1186
|
+
module: "content",
|
|
1187
|
+
path: "/moderation/ip-bans",
|
|
1188
|
+
auth: "staff",
|
|
1189
|
+
permission: "root:comments:moderate",
|
|
1190
|
+
query: [],
|
|
1191
|
+
request: "string[]",
|
|
1192
|
+
responses: { 204: null },
|
|
1193
|
+
errors: [],
|
|
1194
|
+
errorSets: [
|
|
1195
|
+
"module:content",
|
|
1196
|
+
"auth",
|
|
1197
|
+
"request"
|
|
1198
|
+
]
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
method: "GET",
|
|
1202
|
+
module: "contents",
|
|
1203
|
+
path: "/catalog/totals",
|
|
1204
|
+
auth: "open",
|
|
1205
|
+
permission: null,
|
|
1206
|
+
query: ["kinds", "languages"],
|
|
1207
|
+
request: null,
|
|
1208
|
+
responses: { 200: "Totals" },
|
|
1209
|
+
errors: ["unavailable"],
|
|
1210
|
+
errorSets: ["module:contents", "request"]
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
method: "GET",
|
|
1214
|
+
module: "contents",
|
|
1215
|
+
path: "/contents/{id}",
|
|
1216
|
+
auth: "public",
|
|
1217
|
+
permission: null,
|
|
1218
|
+
query: ["language"],
|
|
1219
|
+
request: null,
|
|
1220
|
+
responses: { 200: "Content" },
|
|
1221
|
+
errors: ["not_found"],
|
|
1222
|
+
errorSets: [
|
|
1223
|
+
"module:contents",
|
|
1224
|
+
"auth",
|
|
1225
|
+
"request"
|
|
1226
|
+
]
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
method: "GET",
|
|
1230
|
+
module: "contents",
|
|
1231
|
+
path: "/contents/{id}/versions/{vid}",
|
|
1232
|
+
auth: "public",
|
|
1233
|
+
permission: null,
|
|
1234
|
+
query: ["language"],
|
|
1235
|
+
request: null,
|
|
1236
|
+
responses: { 200: "Version" },
|
|
1237
|
+
errors: ["not_found"],
|
|
1238
|
+
errorSets: [
|
|
1239
|
+
"module:contents",
|
|
1240
|
+
"auth",
|
|
1241
|
+
"request"
|
|
1242
|
+
]
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
method: "GET",
|
|
1246
|
+
module: "contents",
|
|
1247
|
+
path: "/manage/contents",
|
|
1248
|
+
auth: "public",
|
|
1249
|
+
permission: null,
|
|
1250
|
+
query: [
|
|
1251
|
+
"kind",
|
|
1252
|
+
"state",
|
|
1253
|
+
"owner_group",
|
|
1254
|
+
"q",
|
|
1255
|
+
"language",
|
|
1256
|
+
"limit",
|
|
1257
|
+
"offset"
|
|
1258
|
+
],
|
|
1259
|
+
request: null,
|
|
1260
|
+
responses: { 200: "Content[]" },
|
|
1261
|
+
errors: [],
|
|
1262
|
+
errorSets: [
|
|
1263
|
+
"module:contents",
|
|
1264
|
+
"auth",
|
|
1265
|
+
"request"
|
|
1266
|
+
]
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
method: "POST",
|
|
1270
|
+
module: "contents",
|
|
1271
|
+
path: "/contents",
|
|
1272
|
+
auth: "public",
|
|
1273
|
+
permission: null,
|
|
1274
|
+
query: [],
|
|
1275
|
+
request: "ContentInput",
|
|
1276
|
+
responses: { 201: "Content" },
|
|
1277
|
+
errors: ["forbidden", "no_membership"],
|
|
1278
|
+
errorSets: [
|
|
1279
|
+
"module:contents",
|
|
1280
|
+
"auth",
|
|
1281
|
+
"request"
|
|
1282
|
+
]
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
method: "PATCH",
|
|
1286
|
+
module: "contents",
|
|
1287
|
+
path: "/contents/{id}",
|
|
1288
|
+
auth: "public",
|
|
1289
|
+
permission: null,
|
|
1290
|
+
query: [],
|
|
1291
|
+
request: "ContentPatch",
|
|
1292
|
+
responses: { 200: "Content" },
|
|
1293
|
+
errors: [
|
|
1294
|
+
"conflict",
|
|
1295
|
+
"forbidden",
|
|
1296
|
+
"not_found",
|
|
1297
|
+
"no_membership",
|
|
1298
|
+
"not_configured"
|
|
1299
|
+
],
|
|
1300
|
+
errorSets: [
|
|
1301
|
+
"module:contents",
|
|
1302
|
+
"auth",
|
|
1303
|
+
"request"
|
|
1304
|
+
]
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
method: "DELETE",
|
|
1308
|
+
module: "contents",
|
|
1309
|
+
path: "/contents/{id}",
|
|
1310
|
+
auth: "public",
|
|
1311
|
+
permission: null,
|
|
1312
|
+
query: [],
|
|
1313
|
+
request: null,
|
|
1314
|
+
responses: { 204: null },
|
|
1315
|
+
errors: ["forbidden", "not_found"],
|
|
1316
|
+
errorSets: [
|
|
1317
|
+
"module:contents",
|
|
1318
|
+
"auth",
|
|
1319
|
+
"request"
|
|
1320
|
+
]
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
method: "POST",
|
|
1324
|
+
module: "contents",
|
|
1325
|
+
path: "/contents/{id}/restore",
|
|
1326
|
+
auth: "public",
|
|
1327
|
+
permission: null,
|
|
1328
|
+
query: [],
|
|
1329
|
+
request: null,
|
|
1330
|
+
responses: { 200: "Content" },
|
|
1331
|
+
errors: ["forbidden", "not_found"],
|
|
1332
|
+
errorSets: [
|
|
1333
|
+
"module:contents",
|
|
1334
|
+
"auth",
|
|
1335
|
+
"request"
|
|
1336
|
+
]
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
method: "POST",
|
|
1340
|
+
module: "contents",
|
|
1341
|
+
path: "/contents/{id}/publish",
|
|
1342
|
+
auth: "public",
|
|
1343
|
+
permission: null,
|
|
1344
|
+
query: [],
|
|
1345
|
+
request: "PublishInput",
|
|
1346
|
+
responses: {
|
|
1347
|
+
200: "Content",
|
|
1348
|
+
202: "Content"
|
|
1349
|
+
},
|
|
1350
|
+
errors: [
|
|
1351
|
+
"conflict",
|
|
1352
|
+
"forbidden",
|
|
1353
|
+
"not_found",
|
|
1354
|
+
"moderation_rejected"
|
|
1355
|
+
],
|
|
1356
|
+
errorSets: [
|
|
1357
|
+
"module:contents",
|
|
1358
|
+
"auth",
|
|
1359
|
+
"request"
|
|
1360
|
+
]
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
method: "POST",
|
|
1364
|
+
module: "contents",
|
|
1365
|
+
path: "/contents/{id}/unpublish",
|
|
1366
|
+
auth: "public",
|
|
1367
|
+
permission: null,
|
|
1368
|
+
query: [],
|
|
1369
|
+
request: null,
|
|
1370
|
+
responses: { 200: "Content" },
|
|
1371
|
+
errors: [
|
|
1372
|
+
"conflict",
|
|
1373
|
+
"forbidden",
|
|
1374
|
+
"not_found"
|
|
1375
|
+
],
|
|
1376
|
+
errorSets: [
|
|
1377
|
+
"module:contents",
|
|
1378
|
+
"auth",
|
|
1379
|
+
"request"
|
|
1380
|
+
]
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
method: "PUT",
|
|
1384
|
+
module: "contents",
|
|
1385
|
+
path: "/contents/{id}/text/{language}",
|
|
1386
|
+
auth: "public",
|
|
1387
|
+
permission: null,
|
|
1388
|
+
query: [],
|
|
1389
|
+
request: "CatalogText",
|
|
1390
|
+
responses: {
|
|
1391
|
+
200: "Content",
|
|
1392
|
+
202: "Content"
|
|
1393
|
+
},
|
|
1394
|
+
errors: [
|
|
1395
|
+
"conflict",
|
|
1396
|
+
"forbidden",
|
|
1397
|
+
"not_found",
|
|
1398
|
+
"moderation_rejected"
|
|
1399
|
+
],
|
|
1400
|
+
errorSets: [
|
|
1401
|
+
"module:contents",
|
|
1402
|
+
"auth",
|
|
1403
|
+
"request"
|
|
1404
|
+
]
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
method: "DELETE",
|
|
1408
|
+
module: "contents",
|
|
1409
|
+
path: "/contents/{id}/text/{language}",
|
|
1410
|
+
auth: "public",
|
|
1411
|
+
permission: null,
|
|
1412
|
+
query: [],
|
|
1413
|
+
request: null,
|
|
1414
|
+
responses: { 200: "Content" },
|
|
1415
|
+
errors: [
|
|
1416
|
+
"conflict",
|
|
1417
|
+
"forbidden",
|
|
1418
|
+
"not_found"
|
|
1419
|
+
],
|
|
1420
|
+
errorSets: [
|
|
1421
|
+
"module:contents",
|
|
1422
|
+
"auth",
|
|
1423
|
+
"request"
|
|
1424
|
+
]
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
method: "PUT",
|
|
1428
|
+
module: "contents",
|
|
1429
|
+
path: "/contents/{id}/creators",
|
|
1430
|
+
auth: "public",
|
|
1431
|
+
permission: null,
|
|
1432
|
+
query: [],
|
|
1433
|
+
request: "CreatorsInput",
|
|
1434
|
+
responses: { 200: "Content" },
|
|
1435
|
+
errors: ["forbidden", "not_found"],
|
|
1436
|
+
errorSets: [
|
|
1437
|
+
"module:contents",
|
|
1438
|
+
"auth",
|
|
1439
|
+
"request"
|
|
1440
|
+
]
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
method: "POST",
|
|
1444
|
+
module: "contents",
|
|
1445
|
+
path: "/contents/{id}/images",
|
|
1446
|
+
auth: "public",
|
|
1447
|
+
permission: null,
|
|
1448
|
+
query: [],
|
|
1449
|
+
request: "ImageInput",
|
|
1450
|
+
responses: { 200: "InlineImage" },
|
|
1451
|
+
errors: [
|
|
1452
|
+
"forbidden",
|
|
1453
|
+
"not_found",
|
|
1454
|
+
"not_configured"
|
|
1455
|
+
],
|
|
1456
|
+
errorSets: [
|
|
1457
|
+
"module:contents",
|
|
1458
|
+
"auth",
|
|
1459
|
+
"request"
|
|
1460
|
+
]
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
method: "POST",
|
|
1464
|
+
module: "contents",
|
|
1465
|
+
path: "/contents/{id}/versions",
|
|
1466
|
+
auth: "public",
|
|
1467
|
+
permission: null,
|
|
1468
|
+
query: [],
|
|
1469
|
+
request: "VersionInput",
|
|
1470
|
+
responses: { 201: "Version" },
|
|
1471
|
+
errors: [
|
|
1472
|
+
"forbidden",
|
|
1473
|
+
"not_found",
|
|
1474
|
+
"no_membership"
|
|
1475
|
+
],
|
|
1476
|
+
errorSets: [
|
|
1477
|
+
"module:contents",
|
|
1478
|
+
"auth",
|
|
1479
|
+
"request"
|
|
1480
|
+
]
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
method: "PUT",
|
|
1484
|
+
module: "contents",
|
|
1485
|
+
path: "/contents/{id}/versions/order",
|
|
1486
|
+
auth: "public",
|
|
1487
|
+
permission: null,
|
|
1488
|
+
query: [],
|
|
1489
|
+
request: "OrderInput",
|
|
1490
|
+
responses: { 200: "Content" },
|
|
1491
|
+
errors: ["forbidden", "not_found"],
|
|
1492
|
+
errorSets: [
|
|
1493
|
+
"module:contents",
|
|
1494
|
+
"auth",
|
|
1495
|
+
"request"
|
|
1496
|
+
]
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
method: "PATCH",
|
|
1500
|
+
module: "contents",
|
|
1501
|
+
path: "/contents/{id}/versions/{vid}",
|
|
1502
|
+
auth: "public",
|
|
1503
|
+
permission: null,
|
|
1504
|
+
query: [],
|
|
1505
|
+
request: "VersionInput",
|
|
1506
|
+
responses: { 200: "Version" },
|
|
1507
|
+
errors: [
|
|
1508
|
+
"forbidden",
|
|
1509
|
+
"not_found",
|
|
1510
|
+
"no_membership"
|
|
1511
|
+
],
|
|
1512
|
+
errorSets: [
|
|
1513
|
+
"module:contents",
|
|
1514
|
+
"auth",
|
|
1515
|
+
"request"
|
|
1516
|
+
]
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
method: "DELETE",
|
|
1520
|
+
module: "contents",
|
|
1521
|
+
path: "/contents/{id}/versions/{vid}",
|
|
1522
|
+
auth: "public",
|
|
1523
|
+
permission: null,
|
|
1524
|
+
query: [],
|
|
1525
|
+
request: null,
|
|
1526
|
+
responses: { 204: null },
|
|
1527
|
+
errors: [
|
|
1528
|
+
"conflict",
|
|
1529
|
+
"forbidden",
|
|
1530
|
+
"not_found"
|
|
1531
|
+
],
|
|
1532
|
+
errorSets: [
|
|
1533
|
+
"module:contents",
|
|
1534
|
+
"auth",
|
|
1535
|
+
"request"
|
|
1536
|
+
]
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
method: "PUT",
|
|
1540
|
+
module: "contents",
|
|
1541
|
+
path: "/contents/{id}/versions/{vid}/segments",
|
|
1542
|
+
auth: "public",
|
|
1543
|
+
permission: null,
|
|
1544
|
+
query: [],
|
|
1545
|
+
request: "SegmentsInput",
|
|
1546
|
+
responses: { 200: "Version" },
|
|
1547
|
+
errors: ["forbidden", "not_found"],
|
|
1548
|
+
errorSets: [
|
|
1549
|
+
"module:contents",
|
|
1550
|
+
"auth",
|
|
1551
|
+
"request"
|
|
1552
|
+
]
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
method: "POST",
|
|
1556
|
+
module: "upload",
|
|
1557
|
+
path: "/presign",
|
|
1558
|
+
auth: "editor",
|
|
1559
|
+
permission: "root:content:write",
|
|
1560
|
+
query: [],
|
|
1561
|
+
request: "PresignBody",
|
|
1562
|
+
responses: { 200: "PresignReply" },
|
|
1563
|
+
errors: [
|
|
1564
|
+
"conflict",
|
|
1565
|
+
"forbidden",
|
|
1566
|
+
"not_found",
|
|
1567
|
+
"quota_exceeded",
|
|
1568
|
+
"rate_limited",
|
|
1569
|
+
"too_large",
|
|
1570
|
+
"too_many_files",
|
|
1571
|
+
"type_not_allowed"
|
|
1572
|
+
],
|
|
1573
|
+
errorSets: [
|
|
1574
|
+
"module:upload",
|
|
1575
|
+
"auth",
|
|
1576
|
+
"request"
|
|
1577
|
+
]
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
method: "POST",
|
|
1581
|
+
module: "upload",
|
|
1582
|
+
path: "/copy",
|
|
1583
|
+
auth: "staff",
|
|
1584
|
+
permission: "root:import:write",
|
|
1585
|
+
query: [],
|
|
1586
|
+
request: "CopyBody",
|
|
1587
|
+
responses: { 200: "CopyReply" },
|
|
1588
|
+
errors: [
|
|
1589
|
+
"forbidden",
|
|
1590
|
+
"not_found",
|
|
1591
|
+
"quota_exceeded",
|
|
1592
|
+
"rate_limited",
|
|
1593
|
+
"too_large",
|
|
1594
|
+
"type_not_allowed"
|
|
1595
|
+
],
|
|
1596
|
+
errorSets: [
|
|
1597
|
+
"module:upload",
|
|
1598
|
+
"auth",
|
|
1599
|
+
"request"
|
|
1600
|
+
]
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
method: "POST",
|
|
1604
|
+
module: "upload",
|
|
1605
|
+
path: "/parts",
|
|
1606
|
+
auth: "editor",
|
|
1607
|
+
permission: "root:content:write",
|
|
1608
|
+
query: [],
|
|
1609
|
+
request: "PartsBody",
|
|
1610
|
+
responses: { 200: "PartsReply" },
|
|
1611
|
+
errors: ["forbidden", "not_found"],
|
|
1612
|
+
errorSets: [
|
|
1613
|
+
"module:upload",
|
|
1614
|
+
"auth",
|
|
1615
|
+
"request"
|
|
1616
|
+
]
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
method: "POST",
|
|
1620
|
+
module: "upload",
|
|
1621
|
+
path: "/parts/list",
|
|
1622
|
+
auth: "editor",
|
|
1623
|
+
permission: "root:content:write",
|
|
1624
|
+
query: [],
|
|
1625
|
+
request: "TicketBody",
|
|
1626
|
+
responses: { 200: "PartsReply" },
|
|
1627
|
+
errors: ["forbidden", "not_found"],
|
|
1628
|
+
errorSets: [
|
|
1629
|
+
"module:upload",
|
|
1630
|
+
"auth",
|
|
1631
|
+
"request"
|
|
1632
|
+
]
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
method: "POST",
|
|
1636
|
+
module: "upload",
|
|
1637
|
+
path: "/complete",
|
|
1638
|
+
auth: "editor",
|
|
1639
|
+
permission: "root:content:write",
|
|
1640
|
+
query: [],
|
|
1641
|
+
request: "TicketBody",
|
|
1642
|
+
responses: { 200: "CompleteReply" },
|
|
1643
|
+
errors: [
|
|
1644
|
+
"checksum_mismatch",
|
|
1645
|
+
"forbidden",
|
|
1646
|
+
"incomplete",
|
|
1647
|
+
"not_found"
|
|
1648
|
+
],
|
|
1649
|
+
errorSets: [
|
|
1650
|
+
"module:upload",
|
|
1651
|
+
"auth",
|
|
1652
|
+
"request"
|
|
1653
|
+
]
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
method: "POST",
|
|
1657
|
+
module: "upload",
|
|
1658
|
+
path: "/abort",
|
|
1659
|
+
auth: "editor",
|
|
1660
|
+
permission: "root:content:write",
|
|
1661
|
+
query: [],
|
|
1662
|
+
request: "TicketBody",
|
|
1663
|
+
responses: { 204: null },
|
|
1664
|
+
errors: ["forbidden", "not_found"],
|
|
1665
|
+
errorSets: [
|
|
1666
|
+
"module:upload",
|
|
1667
|
+
"auth",
|
|
1668
|
+
"request"
|
|
1669
|
+
]
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
method: "POST",
|
|
1673
|
+
module: "upload",
|
|
1674
|
+
path: "/commit",
|
|
1675
|
+
auth: "editor",
|
|
1676
|
+
permission: "root:content:write",
|
|
1677
|
+
query: [],
|
|
1678
|
+
request: "CommitBody",
|
|
1679
|
+
responses: { 200: "CommitReply" },
|
|
1680
|
+
errors: [
|
|
1681
|
+
"conflict",
|
|
1682
|
+
"forbidden",
|
|
1683
|
+
"image_too_small",
|
|
1684
|
+
"not_found",
|
|
1685
|
+
"not_uploaded",
|
|
1686
|
+
"quota_exceeded",
|
|
1687
|
+
"rate_limited",
|
|
1688
|
+
"too_large",
|
|
1689
|
+
"too_many_files",
|
|
1690
|
+
"type_not_allowed"
|
|
1691
|
+
],
|
|
1692
|
+
errorSets: [
|
|
1693
|
+
"module:upload",
|
|
1694
|
+
"auth",
|
|
1695
|
+
"request"
|
|
1696
|
+
]
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
method: "GET",
|
|
1700
|
+
module: "upload",
|
|
1701
|
+
path: "/frame",
|
|
1702
|
+
auth: "editor",
|
|
1703
|
+
permission: "root:content:write",
|
|
1704
|
+
query: [
|
|
1705
|
+
"kind",
|
|
1706
|
+
"id",
|
|
1707
|
+
"version",
|
|
1708
|
+
"path",
|
|
1709
|
+
"t",
|
|
1710
|
+
"w"
|
|
1711
|
+
],
|
|
1712
|
+
request: null,
|
|
1713
|
+
responses: { 200: "image/jpeg" },
|
|
1714
|
+
errors: ["forbidden", "not_found"],
|
|
1715
|
+
errorSets: [
|
|
1716
|
+
"module:upload",
|
|
1717
|
+
"auth",
|
|
1718
|
+
"request"
|
|
1719
|
+
]
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
method: "GET",
|
|
1723
|
+
module: "media",
|
|
1724
|
+
path: "/presets",
|
|
1725
|
+
auth: "open",
|
|
1726
|
+
permission: null,
|
|
1727
|
+
query: [],
|
|
1728
|
+
request: null,
|
|
1729
|
+
responses: { 200: "PresetRule[]" },
|
|
1730
|
+
errors: [],
|
|
1731
|
+
errorSets: ["module:media"]
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
method: "GET",
|
|
1735
|
+
module: "media",
|
|
1736
|
+
path: "/{kind}/{id}",
|
|
1737
|
+
auth: "public",
|
|
1738
|
+
permission: null,
|
|
1739
|
+
query: [
|
|
1740
|
+
"prefix",
|
|
1741
|
+
"offset",
|
|
1742
|
+
"limit",
|
|
1743
|
+
"download",
|
|
1744
|
+
"editor"
|
|
1745
|
+
],
|
|
1746
|
+
request: null,
|
|
1747
|
+
responses: { 200: "ReadResult" },
|
|
1748
|
+
errors: [],
|
|
1749
|
+
errorSets: [
|
|
1750
|
+
"module:media",
|
|
1751
|
+
"auth",
|
|
1752
|
+
"request"
|
|
1753
|
+
]
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
method: "GET",
|
|
1757
|
+
module: "media",
|
|
1758
|
+
path: "/{kind}/{id}/hls/{path...}",
|
|
1759
|
+
auth: "public",
|
|
1760
|
+
permission: null,
|
|
1761
|
+
query: ["audio", "subs"],
|
|
1762
|
+
request: null,
|
|
1763
|
+
responses: { 200: "application/vnd.apple.mpegurl" },
|
|
1764
|
+
errors: [],
|
|
1765
|
+
errorSets: [
|
|
1766
|
+
"module:media",
|
|
1767
|
+
"auth",
|
|
1768
|
+
"request"
|
|
1769
|
+
]
|
|
1770
|
+
},
|
|
1771
|
+
{
|
|
1772
|
+
method: "GET",
|
|
1773
|
+
module: "media",
|
|
1774
|
+
path: "/{kind}/{id}/versions/{version}",
|
|
1775
|
+
auth: "public",
|
|
1776
|
+
permission: null,
|
|
1777
|
+
query: [
|
|
1778
|
+
"prefix",
|
|
1779
|
+
"offset",
|
|
1780
|
+
"limit",
|
|
1781
|
+
"download",
|
|
1782
|
+
"editor"
|
|
1783
|
+
],
|
|
1784
|
+
request: null,
|
|
1785
|
+
responses: { 200: "ReadResult" },
|
|
1786
|
+
errors: [],
|
|
1787
|
+
errorSets: [
|
|
1788
|
+
"module:media",
|
|
1789
|
+
"auth",
|
|
1790
|
+
"request"
|
|
1791
|
+
]
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
method: "GET",
|
|
1795
|
+
module: "media",
|
|
1796
|
+
path: "/{kind}/{id}/versions/{version}/hls/{path...}",
|
|
1797
|
+
auth: "public",
|
|
1798
|
+
permission: null,
|
|
1799
|
+
query: ["audio", "subs"],
|
|
1800
|
+
request: null,
|
|
1801
|
+
responses: { 200: "application/vnd.apple.mpegurl" },
|
|
1802
|
+
errors: [],
|
|
1803
|
+
errorSets: [
|
|
1804
|
+
"module:media",
|
|
1805
|
+
"auth",
|
|
1806
|
+
"request"
|
|
1807
|
+
]
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
method: "GET",
|
|
1811
|
+
module: "codes",
|
|
1812
|
+
path: "/{code}",
|
|
1813
|
+
auth: "open",
|
|
1814
|
+
permission: null,
|
|
1815
|
+
query: ["lang"],
|
|
1816
|
+
request: null,
|
|
1817
|
+
responses: { 200: "Resolved" },
|
|
1818
|
+
errors: ["gone", "not_found"],
|
|
1819
|
+
errorSets: ["module:codes", "request"]
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
method: "GET",
|
|
1823
|
+
module: "groups",
|
|
1824
|
+
path: "/groups",
|
|
1825
|
+
auth: "public",
|
|
1826
|
+
permission: null,
|
|
1827
|
+
query: [
|
|
1828
|
+
"kind",
|
|
1829
|
+
"parent",
|
|
1830
|
+
"scope",
|
|
1831
|
+
"slug",
|
|
1832
|
+
"letter",
|
|
1833
|
+
"language",
|
|
1834
|
+
"content_kind",
|
|
1835
|
+
"sort",
|
|
1836
|
+
"cursor",
|
|
1837
|
+
"limit"
|
|
1838
|
+
],
|
|
1839
|
+
request: null,
|
|
1840
|
+
responses: { 200: "GroupPage" },
|
|
1841
|
+
errors: [],
|
|
1842
|
+
errorSets: [
|
|
1843
|
+
"module:groups",
|
|
1844
|
+
"auth",
|
|
1845
|
+
"request"
|
|
1846
|
+
]
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
method: "GET",
|
|
1850
|
+
module: "groups",
|
|
1851
|
+
path: "/groups/{id}",
|
|
1852
|
+
auth: "public",
|
|
1853
|
+
permission: null,
|
|
1854
|
+
query: ["language"],
|
|
1855
|
+
request: null,
|
|
1856
|
+
responses: { 200: "GroupDetail" },
|
|
1857
|
+
errors: ["not_found"],
|
|
1858
|
+
errorSets: [
|
|
1859
|
+
"module:groups",
|
|
1860
|
+
"auth",
|
|
1861
|
+
"request"
|
|
1862
|
+
]
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
method: "GET",
|
|
1866
|
+
module: "groups",
|
|
1867
|
+
path: "/me/groups",
|
|
1868
|
+
auth: "user",
|
|
1869
|
+
permission: null,
|
|
1870
|
+
query: [
|
|
1871
|
+
"kind",
|
|
1872
|
+
"language",
|
|
1873
|
+
"sort",
|
|
1874
|
+
"cursor",
|
|
1875
|
+
"limit"
|
|
1876
|
+
],
|
|
1877
|
+
request: null,
|
|
1878
|
+
responses: { 200: "MyGroupPage" },
|
|
1879
|
+
errors: [],
|
|
1880
|
+
errorSets: [
|
|
1881
|
+
"module:groups",
|
|
1882
|
+
"auth",
|
|
1883
|
+
"request"
|
|
1884
|
+
]
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
method: "POST",
|
|
1888
|
+
module: "groups",
|
|
1889
|
+
path: "/groups",
|
|
1890
|
+
auth: "editor",
|
|
1891
|
+
permission: "root:groups:write",
|
|
1892
|
+
query: [],
|
|
1893
|
+
request: "GroupInput[]",
|
|
1894
|
+
responses: { 201: "Group[]" },
|
|
1895
|
+
errors: [
|
|
1896
|
+
"conflict",
|
|
1897
|
+
"not_found",
|
|
1898
|
+
"limit_reached"
|
|
1899
|
+
],
|
|
1900
|
+
errorSets: [
|
|
1901
|
+
"module:groups",
|
|
1902
|
+
"auth",
|
|
1903
|
+
"request"
|
|
1904
|
+
]
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
method: "PATCH",
|
|
1908
|
+
module: "groups",
|
|
1909
|
+
path: "/groups/{id}",
|
|
1910
|
+
auth: "editor",
|
|
1911
|
+
permission: "root:groups:write",
|
|
1912
|
+
query: [],
|
|
1913
|
+
request: "GroupUpdate",
|
|
1914
|
+
responses: { 200: "Group" },
|
|
1915
|
+
errors: [
|
|
1916
|
+
"conflict",
|
|
1917
|
+
"not_found",
|
|
1918
|
+
"limit_reached"
|
|
1919
|
+
],
|
|
1920
|
+
errorSets: [
|
|
1921
|
+
"module:groups",
|
|
1922
|
+
"auth",
|
|
1923
|
+
"request"
|
|
1924
|
+
]
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
method: "DELETE",
|
|
1928
|
+
module: "groups",
|
|
1929
|
+
path: "/groups/{id}",
|
|
1930
|
+
auth: "editor",
|
|
1931
|
+
permission: "root:groups:write",
|
|
1932
|
+
query: [],
|
|
1933
|
+
request: null,
|
|
1934
|
+
responses: { 200: "Group" },
|
|
1935
|
+
errors: ["not_found"],
|
|
1936
|
+
errorSets: [
|
|
1937
|
+
"module:groups",
|
|
1938
|
+
"auth",
|
|
1939
|
+
"request"
|
|
1940
|
+
]
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
method: "PUT",
|
|
1944
|
+
module: "groups",
|
|
1945
|
+
path: "/groups/{id}/names",
|
|
1946
|
+
auth: "staff",
|
|
1947
|
+
permission: "root:groups:write",
|
|
1948
|
+
query: [],
|
|
1949
|
+
request: "Name[]",
|
|
1950
|
+
responses: { 200: "Name[]" },
|
|
1951
|
+
errors: ["conflict", "not_found"],
|
|
1952
|
+
errorSets: [
|
|
1953
|
+
"module:groups",
|
|
1954
|
+
"auth",
|
|
1955
|
+
"request"
|
|
1956
|
+
]
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
method: "POST",
|
|
1960
|
+
module: "groups",
|
|
1961
|
+
path: "/groups/{id}/names",
|
|
1962
|
+
auth: "staff",
|
|
1963
|
+
permission: "root:groups:write",
|
|
1964
|
+
query: [],
|
|
1965
|
+
request: "Name[]",
|
|
1966
|
+
responses: { 200: "Name[]" },
|
|
1967
|
+
errors: ["conflict", "not_found"],
|
|
1968
|
+
errorSets: [
|
|
1969
|
+
"module:groups",
|
|
1970
|
+
"auth",
|
|
1971
|
+
"request"
|
|
1972
|
+
]
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
method: "DELETE",
|
|
1976
|
+
module: "groups",
|
|
1977
|
+
path: "/groups/{id}/names",
|
|
1978
|
+
auth: "staff",
|
|
1979
|
+
permission: "root:groups:write",
|
|
1980
|
+
query: [],
|
|
1981
|
+
request: "Name[]",
|
|
1982
|
+
responses: { 200: "Name[]" },
|
|
1983
|
+
errors: ["conflict", "not_found"],
|
|
1984
|
+
errorSets: [
|
|
1985
|
+
"module:groups",
|
|
1986
|
+
"auth",
|
|
1987
|
+
"request"
|
|
1988
|
+
]
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
method: "POST",
|
|
1992
|
+
module: "groups",
|
|
1993
|
+
path: "/groups/{id}/edges",
|
|
1994
|
+
auth: "staff",
|
|
1995
|
+
permission: "root:groups:write",
|
|
1996
|
+
query: [],
|
|
1997
|
+
request: "EdgeInput[]",
|
|
1998
|
+
responses: { 200: "Edge[]" },
|
|
1999
|
+
errors: ["conflict", "not_found"],
|
|
2000
|
+
errorSets: [
|
|
2001
|
+
"module:groups",
|
|
2002
|
+
"auth",
|
|
2003
|
+
"request"
|
|
2004
|
+
]
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
method: "DELETE",
|
|
2008
|
+
module: "groups",
|
|
2009
|
+
path: "/groups/{id}/edges",
|
|
2010
|
+
auth: "staff",
|
|
2011
|
+
permission: "root:groups:write",
|
|
2012
|
+
query: [],
|
|
2013
|
+
request: "EdgeInput[]",
|
|
2014
|
+
responses: { 200: "Edge[]" },
|
|
2015
|
+
errors: [],
|
|
2016
|
+
errorSets: [
|
|
2017
|
+
"module:groups",
|
|
2018
|
+
"auth",
|
|
2019
|
+
"request"
|
|
2020
|
+
]
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
method: "POST",
|
|
2024
|
+
module: "groups",
|
|
2025
|
+
path: "/groups/{id}/merge",
|
|
2026
|
+
auth: "staff",
|
|
2027
|
+
permission: "root:groups:write",
|
|
2028
|
+
query: [],
|
|
2029
|
+
request: "MergeInput",
|
|
2030
|
+
responses: { 200: "MergeReport" },
|
|
2031
|
+
errors: ["conflict", "not_found"],
|
|
2032
|
+
errorSets: [
|
|
2033
|
+
"module:groups",
|
|
2034
|
+
"auth",
|
|
2035
|
+
"request"
|
|
2036
|
+
]
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
method: "GET",
|
|
2040
|
+
module: "groups",
|
|
2041
|
+
path: "/groups/{id}/members",
|
|
2042
|
+
auth: "staff",
|
|
2043
|
+
permission: "root:groups:write",
|
|
2044
|
+
query: ["cursor", "limit"],
|
|
2045
|
+
request: null,
|
|
2046
|
+
responses: { 200: "MemberPage" },
|
|
2047
|
+
errors: ["not_found"],
|
|
2048
|
+
errorSets: [
|
|
2049
|
+
"module:groups",
|
|
2050
|
+
"auth",
|
|
2051
|
+
"request"
|
|
2052
|
+
]
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
method: "POST",
|
|
2056
|
+
module: "groups",
|
|
2057
|
+
path: "/groups/{id}/members",
|
|
2058
|
+
auth: "staff",
|
|
2059
|
+
permission: "root:groups:write",
|
|
1059
2060
|
query: [],
|
|
1060
|
-
request: "
|
|
1061
|
-
responses: { 200: "
|
|
1062
|
-
errors: [
|
|
1063
|
-
"conflict",
|
|
1064
|
-
"forbidden",
|
|
1065
|
-
"image_too_small",
|
|
1066
|
-
"not_found",
|
|
1067
|
-
"not_uploaded",
|
|
1068
|
-
"quota_exceeded",
|
|
1069
|
-
"rate_limited",
|
|
1070
|
-
"too_large",
|
|
1071
|
-
"too_many_files",
|
|
1072
|
-
"type_not_allowed"
|
|
1073
|
-
],
|
|
2061
|
+
request: "Membership[]",
|
|
2062
|
+
responses: { 200: "Written" },
|
|
2063
|
+
errors: ["conflict", "not_found"],
|
|
1074
2064
|
errorSets: [
|
|
1075
|
-
"module:
|
|
2065
|
+
"module:groups",
|
|
2066
|
+
"auth",
|
|
2067
|
+
"request"
|
|
2068
|
+
]
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
method: "DELETE",
|
|
2072
|
+
module: "groups",
|
|
2073
|
+
path: "/groups/{id}/members",
|
|
2074
|
+
auth: "staff",
|
|
2075
|
+
permission: "root:groups:write",
|
|
2076
|
+
query: [],
|
|
2077
|
+
request: "Membership[]",
|
|
2078
|
+
responses: { 200: "Written" },
|
|
2079
|
+
errors: [],
|
|
2080
|
+
errorSets: [
|
|
2081
|
+
"module:groups",
|
|
2082
|
+
"auth",
|
|
2083
|
+
"request"
|
|
2084
|
+
]
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
method: "PUT",
|
|
2088
|
+
module: "groups",
|
|
2089
|
+
path: "/groups/{id}/members/order",
|
|
2090
|
+
auth: "staff",
|
|
2091
|
+
permission: "root:groups:write",
|
|
2092
|
+
query: [],
|
|
2093
|
+
request: "Order",
|
|
2094
|
+
responses: { 200: "Written" },
|
|
2095
|
+
errors: ["not_found"],
|
|
2096
|
+
errorSets: [
|
|
2097
|
+
"module:groups",
|
|
1076
2098
|
"auth",
|
|
1077
2099
|
"request"
|
|
1078
2100
|
]
|
|
1079
2101
|
},
|
|
1080
2102
|
{
|
|
1081
2103
|
method: "GET",
|
|
1082
|
-
module: "
|
|
1083
|
-
path: "/
|
|
2104
|
+
module: "groups",
|
|
2105
|
+
path: "/contents/{id}/groups",
|
|
2106
|
+
auth: "staff",
|
|
2107
|
+
permission: "root:groups:write",
|
|
2108
|
+
query: ["language"],
|
|
2109
|
+
request: null,
|
|
2110
|
+
responses: { 200: "ContentMemberships" },
|
|
2111
|
+
errors: [],
|
|
2112
|
+
errorSets: [
|
|
2113
|
+
"module:groups",
|
|
2114
|
+
"auth",
|
|
2115
|
+
"request"
|
|
2116
|
+
]
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
method: "PUT",
|
|
2120
|
+
module: "groups",
|
|
2121
|
+
path: "/contents/{id}/groups",
|
|
2122
|
+
auth: "staff",
|
|
2123
|
+
permission: "root:groups:write",
|
|
2124
|
+
query: ["language"],
|
|
2125
|
+
request: "ContentGroups",
|
|
2126
|
+
responses: { 200: "ContentMemberships" },
|
|
2127
|
+
errors: ["conflict", "not_found"],
|
|
2128
|
+
errorSets: [
|
|
2129
|
+
"module:groups",
|
|
2130
|
+
"auth",
|
|
2131
|
+
"request"
|
|
2132
|
+
]
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
method: "GET",
|
|
2136
|
+
module: "notifications",
|
|
2137
|
+
path: "/inbox",
|
|
1084
2138
|
auth: "user",
|
|
1085
2139
|
permission: null,
|
|
1086
2140
|
query: [
|
|
1087
|
-
"
|
|
1088
|
-
"
|
|
1089
|
-
"
|
|
1090
|
-
"
|
|
1091
|
-
"w"
|
|
2141
|
+
"limit",
|
|
2142
|
+
"cursor",
|
|
2143
|
+
"unread",
|
|
2144
|
+
"dismissed"
|
|
1092
2145
|
],
|
|
1093
2146
|
request: null,
|
|
1094
|
-
responses: { 200: "
|
|
1095
|
-
errors: [
|
|
2147
|
+
responses: { 200: "Page" },
|
|
2148
|
+
errors: [],
|
|
1096
2149
|
errorSets: [
|
|
1097
|
-
"module:
|
|
2150
|
+
"module:notifications",
|
|
1098
2151
|
"auth",
|
|
1099
2152
|
"request"
|
|
1100
2153
|
]
|
|
1101
2154
|
},
|
|
1102
2155
|
{
|
|
1103
|
-
method: "
|
|
1104
|
-
module: "
|
|
1105
|
-
path: "/
|
|
1106
|
-
auth: "
|
|
2156
|
+
method: "PUT",
|
|
2157
|
+
module: "notifications",
|
|
2158
|
+
path: "/{id}/read",
|
|
2159
|
+
auth: "user",
|
|
1107
2160
|
permission: null,
|
|
1108
2161
|
query: [],
|
|
1109
2162
|
request: null,
|
|
1110
|
-
responses: { 200: "
|
|
1111
|
-
errors: [],
|
|
1112
|
-
errorSets: [
|
|
2163
|
+
responses: { 200: "Item" },
|
|
2164
|
+
errors: ["not_found"],
|
|
2165
|
+
errorSets: [
|
|
2166
|
+
"module:notifications",
|
|
2167
|
+
"auth",
|
|
2168
|
+
"request"
|
|
2169
|
+
]
|
|
1113
2170
|
},
|
|
1114
2171
|
{
|
|
1115
|
-
method: "
|
|
1116
|
-
module: "
|
|
1117
|
-
path: "/{
|
|
1118
|
-
auth: "
|
|
2172
|
+
method: "DELETE",
|
|
2173
|
+
module: "notifications",
|
|
2174
|
+
path: "/{id}/read",
|
|
2175
|
+
auth: "user",
|
|
1119
2176
|
permission: null,
|
|
1120
|
-
query: [
|
|
1121
|
-
"prefix",
|
|
1122
|
-
"offset",
|
|
1123
|
-
"limit",
|
|
1124
|
-
"download",
|
|
1125
|
-
"editor"
|
|
1126
|
-
],
|
|
2177
|
+
query: [],
|
|
1127
2178
|
request: null,
|
|
1128
|
-
responses: { 200: "
|
|
2179
|
+
responses: { 200: "Item" },
|
|
2180
|
+
errors: ["not_found"],
|
|
2181
|
+
errorSets: [
|
|
2182
|
+
"module:notifications",
|
|
2183
|
+
"auth",
|
|
2184
|
+
"request"
|
|
2185
|
+
]
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
method: "PUT",
|
|
2189
|
+
module: "notifications",
|
|
2190
|
+
path: "/{id}/dismiss",
|
|
2191
|
+
auth: "user",
|
|
2192
|
+
permission: null,
|
|
2193
|
+
query: [],
|
|
2194
|
+
request: null,
|
|
2195
|
+
responses: { 200: "Item" },
|
|
2196
|
+
errors: ["not_found"],
|
|
2197
|
+
errorSets: [
|
|
2198
|
+
"module:notifications",
|
|
2199
|
+
"auth",
|
|
2200
|
+
"request"
|
|
2201
|
+
]
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
method: "DELETE",
|
|
2205
|
+
module: "notifications",
|
|
2206
|
+
path: "/{id}/dismiss",
|
|
2207
|
+
auth: "user",
|
|
2208
|
+
permission: null,
|
|
2209
|
+
query: [],
|
|
2210
|
+
request: null,
|
|
2211
|
+
responses: { 200: "Item" },
|
|
2212
|
+
errors: ["not_found"],
|
|
2213
|
+
errorSets: [
|
|
2214
|
+
"module:notifications",
|
|
2215
|
+
"auth",
|
|
2216
|
+
"request"
|
|
2217
|
+
]
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
method: "POST",
|
|
2221
|
+
module: "notifications",
|
|
2222
|
+
path: "/publish",
|
|
2223
|
+
auth: "staff",
|
|
2224
|
+
permission: "root:notifications:publish",
|
|
2225
|
+
query: [],
|
|
2226
|
+
request: "Publication",
|
|
2227
|
+
responses: { 200: "Published" },
|
|
1129
2228
|
errors: [],
|
|
1130
2229
|
errorSets: [
|
|
1131
|
-
"module:
|
|
2230
|
+
"module:notifications",
|
|
1132
2231
|
"auth",
|
|
1133
2232
|
"request"
|
|
1134
2233
|
]
|
|
1135
2234
|
},
|
|
1136
2235
|
{
|
|
1137
2236
|
method: "GET",
|
|
1138
|
-
module: "
|
|
1139
|
-
path: "/
|
|
2237
|
+
module: "versions",
|
|
2238
|
+
path: "/contents/{id}/versions/{version}/reader",
|
|
1140
2239
|
auth: "public",
|
|
1141
2240
|
permission: null,
|
|
1142
|
-
query: [
|
|
2241
|
+
query: [],
|
|
1143
2242
|
request: null,
|
|
1144
|
-
responses: {
|
|
2243
|
+
responses: {
|
|
2244
|
+
200: "ReaderPlan",
|
|
2245
|
+
202: "Pending"
|
|
2246
|
+
},
|
|
1145
2247
|
errors: [],
|
|
1146
2248
|
errorSets: [
|
|
1147
|
-
"module:
|
|
2249
|
+
"module:versions",
|
|
2250
|
+
"auth",
|
|
2251
|
+
"request"
|
|
2252
|
+
]
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
method: "PUT",
|
|
2256
|
+
module: "versions",
|
|
2257
|
+
path: "/contents/{id}/versions/{version}/reader",
|
|
2258
|
+
auth: "user",
|
|
2259
|
+
permission: null,
|
|
2260
|
+
query: [],
|
|
2261
|
+
request: "ReaderMeta",
|
|
2262
|
+
responses: { 204: null },
|
|
2263
|
+
errors: [],
|
|
2264
|
+
errorSets: [
|
|
2265
|
+
"module:versions",
|
|
2266
|
+
"auth",
|
|
2267
|
+
"request"
|
|
2268
|
+
]
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
method: "POST",
|
|
2272
|
+
module: "versions",
|
|
2273
|
+
path: "/contents/{id}/versions/{version}/fork",
|
|
2274
|
+
auth: "user",
|
|
2275
|
+
permission: null,
|
|
2276
|
+
query: [],
|
|
2277
|
+
request: "ForkBody",
|
|
2278
|
+
responses: { 202: "Pending" },
|
|
2279
|
+
errors: [],
|
|
2280
|
+
errorSets: [
|
|
2281
|
+
"module:versions",
|
|
1148
2282
|
"auth",
|
|
1149
2283
|
"request"
|
|
1150
2284
|
]
|
|
1151
2285
|
},
|
|
1152
2286
|
{
|
|
1153
2287
|
method: "GET",
|
|
1154
|
-
module: "
|
|
1155
|
-
path: "/{
|
|
1156
|
-
auth: "
|
|
2288
|
+
module: "versions",
|
|
2289
|
+
path: "/contents/{id}/versions/{version}/download",
|
|
2290
|
+
auth: "public",
|
|
1157
2291
|
permission: null,
|
|
1158
|
-
query: [
|
|
2292
|
+
query: [],
|
|
1159
2293
|
request: null,
|
|
1160
|
-
responses: {
|
|
1161
|
-
|
|
1162
|
-
|
|
2294
|
+
responses: {
|
|
2295
|
+
200: "application/zip",
|
|
2296
|
+
202: "Pending"
|
|
2297
|
+
},
|
|
2298
|
+
errors: ["forbidden", "rate_limited"],
|
|
2299
|
+
errorSets: [
|
|
2300
|
+
"module:versions",
|
|
2301
|
+
"auth",
|
|
2302
|
+
"request"
|
|
2303
|
+
]
|
|
1163
2304
|
},
|
|
1164
2305
|
{
|
|
1165
|
-
method: "
|
|
1166
|
-
module: "
|
|
1167
|
-
path: "/
|
|
1168
|
-
auth: "
|
|
1169
|
-
permission: "root:
|
|
1170
|
-
query: [
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
"
|
|
1176
|
-
"
|
|
1177
|
-
"
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
2306
|
+
method: "PUT",
|
|
2307
|
+
module: "offers",
|
|
2308
|
+
path: "/contents/{id}/offer",
|
|
2309
|
+
auth: "editor",
|
|
2310
|
+
permission: "root:offers:write",
|
|
2311
|
+
query: [],
|
|
2312
|
+
request: "Terms",
|
|
2313
|
+
responses: { 200: "Offer" },
|
|
2314
|
+
errors: ["not_found", "conflict"],
|
|
2315
|
+
errorSets: [
|
|
2316
|
+
"module:offers",
|
|
2317
|
+
"auth",
|
|
2318
|
+
"request"
|
|
2319
|
+
]
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
method: "DELETE",
|
|
2323
|
+
module: "offers",
|
|
2324
|
+
path: "/contents/{id}/offer",
|
|
2325
|
+
auth: "editor",
|
|
2326
|
+
permission: "root:offers:write",
|
|
2327
|
+
query: [],
|
|
2328
|
+
request: null,
|
|
2329
|
+
responses: { 200: "Offer" },
|
|
2330
|
+
errors: ["not_found", "conflict"],
|
|
2331
|
+
errorSets: [
|
|
2332
|
+
"module:offers",
|
|
2333
|
+
"auth",
|
|
2334
|
+
"request"
|
|
2335
|
+
]
|
|
2336
|
+
},
|
|
2337
|
+
{
|
|
2338
|
+
method: "PUT",
|
|
2339
|
+
module: "offers",
|
|
2340
|
+
path: "/contents/{id}/versions/{vid}/offer",
|
|
2341
|
+
auth: "editor",
|
|
2342
|
+
permission: "root:offers:write",
|
|
2343
|
+
query: [],
|
|
2344
|
+
request: "Terms",
|
|
2345
|
+
responses: { 200: "Offer" },
|
|
2346
|
+
errors: ["not_found", "conflict"],
|
|
2347
|
+
errorSets: [
|
|
2348
|
+
"module:offers",
|
|
2349
|
+
"auth",
|
|
2350
|
+
"request"
|
|
2351
|
+
]
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
method: "DELETE",
|
|
2355
|
+
module: "offers",
|
|
2356
|
+
path: "/contents/{id}/versions/{vid}/offer",
|
|
2357
|
+
auth: "editor",
|
|
2358
|
+
permission: "root:offers:write",
|
|
2359
|
+
query: [],
|
|
1186
2360
|
request: null,
|
|
1187
|
-
responses: { 200: "
|
|
1188
|
-
errors: [],
|
|
2361
|
+
responses: { 200: "Offer" },
|
|
2362
|
+
errors: ["not_found", "conflict"],
|
|
1189
2363
|
errorSets: [
|
|
1190
|
-
"module:
|
|
2364
|
+
"module:offers",
|
|
1191
2365
|
"auth",
|
|
1192
2366
|
"request"
|
|
1193
2367
|
]
|
|
1194
2368
|
},
|
|
1195
2369
|
{
|
|
1196
|
-
method: "
|
|
1197
|
-
module: "
|
|
1198
|
-
path: "/
|
|
1199
|
-
auth: "
|
|
1200
|
-
permission: "root:
|
|
2370
|
+
method: "PUT",
|
|
2371
|
+
module: "offers",
|
|
2372
|
+
path: "/groups/{id}/offer",
|
|
2373
|
+
auth: "editor",
|
|
2374
|
+
permission: "root:offers:write",
|
|
1201
2375
|
query: [],
|
|
1202
|
-
request: "
|
|
1203
|
-
responses: {
|
|
1204
|
-
errors: ["conflict"],
|
|
2376
|
+
request: "Terms",
|
|
2377
|
+
responses: { 200: "Offer" },
|
|
2378
|
+
errors: ["not_found", "conflict"],
|
|
1205
2379
|
errorSets: [
|
|
1206
|
-
"module:
|
|
2380
|
+
"module:offers",
|
|
1207
2381
|
"auth",
|
|
1208
2382
|
"request"
|
|
1209
2383
|
]
|
|
1210
2384
|
},
|
|
1211
2385
|
{
|
|
1212
|
-
method: "
|
|
1213
|
-
module: "
|
|
1214
|
-
path: "/
|
|
1215
|
-
auth: "
|
|
1216
|
-
permission: "root:
|
|
2386
|
+
method: "DELETE",
|
|
2387
|
+
module: "offers",
|
|
2388
|
+
path: "/groups/{id}/offer",
|
|
2389
|
+
auth: "editor",
|
|
2390
|
+
permission: "root:offers:write",
|
|
1217
2391
|
query: [],
|
|
1218
2392
|
request: null,
|
|
1219
|
-
responses: { 200: "
|
|
1220
|
-
errors: ["not_found"],
|
|
2393
|
+
responses: { 200: "Offer" },
|
|
2394
|
+
errors: ["not_found", "conflict"],
|
|
1221
2395
|
errorSets: [
|
|
1222
|
-
"module:
|
|
2396
|
+
"module:offers",
|
|
1223
2397
|
"auth",
|
|
1224
2398
|
"request"
|
|
1225
2399
|
]
|
|
1226
2400
|
},
|
|
1227
2401
|
{
|
|
1228
|
-
method: "
|
|
1229
|
-
module: "
|
|
1230
|
-
path: "/
|
|
1231
|
-
auth: "
|
|
1232
|
-
permission:
|
|
2402
|
+
method: "POST",
|
|
2403
|
+
module: "offers",
|
|
2404
|
+
path: "/groups/{id}/join",
|
|
2405
|
+
auth: "user",
|
|
2406
|
+
permission: null,
|
|
1233
2407
|
query: [],
|
|
1234
|
-
request:
|
|
1235
|
-
responses: { 200: "
|
|
1236
|
-
errors: ["
|
|
2408
|
+
request: null,
|
|
2409
|
+
responses: { 200: "GroupJoin" },
|
|
2410
|
+
errors: ["not_found", "conflict"],
|
|
1237
2411
|
errorSets: [
|
|
1238
|
-
"module:
|
|
2412
|
+
"module:offers",
|
|
1239
2413
|
"auth",
|
|
1240
2414
|
"request"
|
|
1241
2415
|
]
|
|
1242
2416
|
},
|
|
1243
2417
|
{
|
|
1244
2418
|
method: "DELETE",
|
|
1245
|
-
module: "
|
|
1246
|
-
path: "/
|
|
1247
|
-
auth: "
|
|
1248
|
-
permission:
|
|
2419
|
+
module: "offers",
|
|
2420
|
+
path: "/groups/{id}/join",
|
|
2421
|
+
auth: "user",
|
|
2422
|
+
permission: null,
|
|
1249
2423
|
query: [],
|
|
1250
2424
|
request: null,
|
|
1251
|
-
responses: { 200: "
|
|
1252
|
-
errors: ["not_found"],
|
|
2425
|
+
responses: { 200: "GroupJoin" },
|
|
2426
|
+
errors: ["not_found", "conflict"],
|
|
1253
2427
|
errorSets: [
|
|
1254
|
-
"module:
|
|
2428
|
+
"module:offers",
|
|
1255
2429
|
"auth",
|
|
1256
2430
|
"request"
|
|
1257
2431
|
]
|
|
1258
2432
|
},
|
|
1259
2433
|
{
|
|
1260
|
-
method: "
|
|
1261
|
-
module: "
|
|
1262
|
-
path: "/
|
|
1263
|
-
auth: "
|
|
1264
|
-
permission:
|
|
1265
|
-
query: [
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
2434
|
+
method: "GET",
|
|
2435
|
+
module: "offers",
|
|
2436
|
+
path: "/me/library",
|
|
2437
|
+
auth: "user",
|
|
2438
|
+
permission: null,
|
|
2439
|
+
query: [
|
|
2440
|
+
"language",
|
|
2441
|
+
"cursor",
|
|
2442
|
+
"limit"
|
|
2443
|
+
],
|
|
2444
|
+
request: null,
|
|
2445
|
+
responses: { 200: "LibraryPage" },
|
|
2446
|
+
errors: [],
|
|
1269
2447
|
errorSets: [
|
|
1270
|
-
"module:
|
|
2448
|
+
"module:offers",
|
|
1271
2449
|
"auth",
|
|
1272
2450
|
"request"
|
|
1273
2451
|
]
|
|
1274
2452
|
},
|
|
1275
2453
|
{
|
|
1276
|
-
method: "
|
|
1277
|
-
module: "
|
|
1278
|
-
path: "/
|
|
2454
|
+
method: "GET",
|
|
2455
|
+
module: "offers",
|
|
2456
|
+
path: "/offers",
|
|
1279
2457
|
auth: "staff",
|
|
1280
|
-
permission: "root:
|
|
1281
|
-
query: [
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
2458
|
+
permission: "root:offers:write",
|
|
2459
|
+
query: [
|
|
2460
|
+
"state",
|
|
2461
|
+
"unsynced",
|
|
2462
|
+
"cursor",
|
|
2463
|
+
"limit"
|
|
2464
|
+
],
|
|
2465
|
+
request: null,
|
|
2466
|
+
responses: { 200: "OfferPage" },
|
|
2467
|
+
errors: [],
|
|
1285
2468
|
errorSets: [
|
|
1286
|
-
"module:
|
|
2469
|
+
"module:offers",
|
|
1287
2470
|
"auth",
|
|
1288
2471
|
"request"
|
|
1289
2472
|
]
|
|
1290
2473
|
},
|
|
1291
2474
|
{
|
|
1292
|
-
method: "
|
|
1293
|
-
module: "
|
|
1294
|
-
path: "/
|
|
1295
|
-
auth: "
|
|
1296
|
-
permission:
|
|
1297
|
-
query: [
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
2475
|
+
method: "GET",
|
|
2476
|
+
module: "discovery",
|
|
2477
|
+
path: "/contents",
|
|
2478
|
+
auth: "public",
|
|
2479
|
+
permission: null,
|
|
2480
|
+
query: [
|
|
2481
|
+
"kind",
|
|
2482
|
+
"groups",
|
|
2483
|
+
"exclude_groups",
|
|
2484
|
+
"owner_group",
|
|
2485
|
+
"traits",
|
|
2486
|
+
"attribute",
|
|
2487
|
+
"released_on",
|
|
2488
|
+
"tz",
|
|
2489
|
+
"view_status",
|
|
2490
|
+
"language",
|
|
2491
|
+
"display_language",
|
|
2492
|
+
"mode",
|
|
2493
|
+
"sort",
|
|
2494
|
+
"card_groups",
|
|
2495
|
+
"cursor",
|
|
2496
|
+
"limit"
|
|
2497
|
+
],
|
|
2498
|
+
request: null,
|
|
2499
|
+
responses: { 200: "ContentPage" },
|
|
2500
|
+
errors: ["not_configured"],
|
|
1301
2501
|
errorSets: [
|
|
1302
|
-
"module:
|
|
2502
|
+
"module:discovery",
|
|
1303
2503
|
"auth",
|
|
1304
2504
|
"request"
|
|
1305
2505
|
]
|
|
1306
2506
|
},
|
|
1307
2507
|
{
|
|
1308
2508
|
method: "GET",
|
|
1309
|
-
module: "
|
|
1310
|
-
path: "/
|
|
1311
|
-
auth: "
|
|
1312
|
-
permission:
|
|
2509
|
+
module: "discovery",
|
|
2510
|
+
path: "/search",
|
|
2511
|
+
auth: "public",
|
|
2512
|
+
permission: null,
|
|
1313
2513
|
query: [
|
|
1314
|
-
"
|
|
1315
|
-
"
|
|
2514
|
+
"q",
|
|
2515
|
+
"kind",
|
|
2516
|
+
"groups",
|
|
2517
|
+
"exclude_groups",
|
|
2518
|
+
"owner_group",
|
|
2519
|
+
"traits",
|
|
2520
|
+
"attribute",
|
|
2521
|
+
"released_on",
|
|
2522
|
+
"tz",
|
|
2523
|
+
"view_status",
|
|
2524
|
+
"language",
|
|
2525
|
+
"display_language",
|
|
2526
|
+
"mode",
|
|
2527
|
+
"sort",
|
|
2528
|
+
"card_groups",
|
|
2529
|
+
"personalize",
|
|
2530
|
+
"session",
|
|
1316
2531
|
"cursor",
|
|
1317
2532
|
"limit"
|
|
1318
2533
|
],
|
|
1319
2534
|
request: null,
|
|
1320
|
-
responses: { 200: "
|
|
1321
|
-
errors: ["
|
|
2535
|
+
responses: { 200: "ContentPage" },
|
|
2536
|
+
errors: ["not_configured"],
|
|
1322
2537
|
errorSets: [
|
|
1323
|
-
"module:
|
|
2538
|
+
"module:discovery",
|
|
1324
2539
|
"auth",
|
|
1325
2540
|
"request"
|
|
1326
2541
|
]
|
|
1327
2542
|
},
|
|
1328
2543
|
{
|
|
1329
|
-
method: "
|
|
1330
|
-
module: "
|
|
1331
|
-
path: "/
|
|
1332
|
-
auth: "
|
|
1333
|
-
permission:
|
|
1334
|
-
query: [
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
2544
|
+
method: "GET",
|
|
2545
|
+
module: "discovery",
|
|
2546
|
+
path: "/typeahead",
|
|
2547
|
+
auth: "public",
|
|
2548
|
+
permission: null,
|
|
2549
|
+
query: [
|
|
2550
|
+
"q",
|
|
2551
|
+
"kind",
|
|
2552
|
+
"group_kinds",
|
|
2553
|
+
"language",
|
|
2554
|
+
"display_language",
|
|
2555
|
+
"mode",
|
|
2556
|
+
"limit"
|
|
2557
|
+
],
|
|
2558
|
+
request: null,
|
|
2559
|
+
responses: { 200: "Typeahead" },
|
|
2560
|
+
errors: [],
|
|
1338
2561
|
errorSets: [
|
|
1339
|
-
"module:
|
|
2562
|
+
"module:discovery",
|
|
1340
2563
|
"auth",
|
|
1341
2564
|
"request"
|
|
1342
2565
|
]
|
|
1343
2566
|
},
|
|
1344
2567
|
{
|
|
1345
|
-
method: "
|
|
1346
|
-
module: "
|
|
1347
|
-
path: "/
|
|
1348
|
-
auth: "
|
|
1349
|
-
permission:
|
|
1350
|
-
query: [
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
2568
|
+
method: "GET",
|
|
2569
|
+
module: "discovery",
|
|
2570
|
+
path: "/contents/{id}/similar",
|
|
2571
|
+
auth: "public",
|
|
2572
|
+
permission: null,
|
|
2573
|
+
query: [
|
|
2574
|
+
"kind",
|
|
2575
|
+
"groups",
|
|
2576
|
+
"exclude_groups",
|
|
2577
|
+
"owner_group",
|
|
2578
|
+
"traits",
|
|
2579
|
+
"attribute",
|
|
2580
|
+
"released_on",
|
|
2581
|
+
"tz",
|
|
2582
|
+
"view_status",
|
|
2583
|
+
"language",
|
|
2584
|
+
"display_language",
|
|
2585
|
+
"mode",
|
|
2586
|
+
"card_groups",
|
|
2587
|
+
"limit"
|
|
2588
|
+
],
|
|
2589
|
+
request: null,
|
|
2590
|
+
responses: { 200: "ContentPage" },
|
|
2591
|
+
errors: ["not_found", "not_configured"],
|
|
1354
2592
|
errorSets: [
|
|
1355
|
-
"module:
|
|
2593
|
+
"module:discovery",
|
|
1356
2594
|
"auth",
|
|
1357
2595
|
"request"
|
|
1358
2596
|
]
|
|
1359
2597
|
},
|
|
1360
2598
|
{
|
|
1361
|
-
method: "
|
|
1362
|
-
module: "
|
|
1363
|
-
path: "/
|
|
1364
|
-
auth: "
|
|
1365
|
-
permission:
|
|
1366
|
-
query: [
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
2599
|
+
method: "GET",
|
|
2600
|
+
module: "discovery",
|
|
2601
|
+
path: "/recommendations",
|
|
2602
|
+
auth: "user",
|
|
2603
|
+
permission: null,
|
|
2604
|
+
query: [
|
|
2605
|
+
"kind",
|
|
2606
|
+
"groups",
|
|
2607
|
+
"exclude_groups",
|
|
2608
|
+
"owner_group",
|
|
2609
|
+
"traits",
|
|
2610
|
+
"attribute",
|
|
2611
|
+
"released_on",
|
|
2612
|
+
"tz",
|
|
2613
|
+
"view_status",
|
|
2614
|
+
"language",
|
|
2615
|
+
"display_language",
|
|
2616
|
+
"mode",
|
|
2617
|
+
"card_groups",
|
|
2618
|
+
"limit"
|
|
2619
|
+
],
|
|
2620
|
+
request: null,
|
|
2621
|
+
responses: { 200: "ContentPage" },
|
|
2622
|
+
errors: ["not_configured"],
|
|
1370
2623
|
errorSets: [
|
|
1371
|
-
"module:
|
|
2624
|
+
"module:discovery",
|
|
1372
2625
|
"auth",
|
|
1373
2626
|
"request"
|
|
1374
2627
|
]
|
|
1375
2628
|
},
|
|
1376
2629
|
{
|
|
1377
|
-
method: "
|
|
1378
|
-
module: "
|
|
1379
|
-
path: "/
|
|
1380
|
-
auth: "
|
|
1381
|
-
permission:
|
|
1382
|
-
query: [
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
2630
|
+
method: "GET",
|
|
2631
|
+
module: "discovery",
|
|
2632
|
+
path: "/release-dates",
|
|
2633
|
+
auth: "public",
|
|
2634
|
+
permission: null,
|
|
2635
|
+
query: [
|
|
2636
|
+
"by",
|
|
2637
|
+
"kind",
|
|
2638
|
+
"groups",
|
|
2639
|
+
"exclude_groups",
|
|
2640
|
+
"owner_group",
|
|
2641
|
+
"traits",
|
|
2642
|
+
"attribute",
|
|
2643
|
+
"released_on",
|
|
2644
|
+
"tz",
|
|
2645
|
+
"view_status",
|
|
2646
|
+
"language",
|
|
2647
|
+
"display_language",
|
|
2648
|
+
"mode",
|
|
2649
|
+
"cursor",
|
|
2650
|
+
"limit"
|
|
2651
|
+
],
|
|
2652
|
+
request: null,
|
|
2653
|
+
responses: { 200: "ReleaseDates" },
|
|
2654
|
+
errors: ["not_configured"],
|
|
1386
2655
|
errorSets: [
|
|
1387
|
-
"module:
|
|
2656
|
+
"module:discovery",
|
|
1388
2657
|
"auth",
|
|
1389
2658
|
"request"
|
|
1390
2659
|
]
|
|
1391
2660
|
},
|
|
1392
2661
|
{
|
|
1393
|
-
method: "
|
|
1394
|
-
module: "
|
|
1395
|
-
path: "/
|
|
1396
|
-
auth: "
|
|
1397
|
-
permission:
|
|
1398
|
-
query: ["
|
|
1399
|
-
request:
|
|
1400
|
-
responses: { 200: "
|
|
2662
|
+
method: "GET",
|
|
2663
|
+
module: "discovery",
|
|
2664
|
+
path: "/me/content-filters",
|
|
2665
|
+
auth: "user",
|
|
2666
|
+
permission: null,
|
|
2667
|
+
query: ["language"],
|
|
2668
|
+
request: null,
|
|
2669
|
+
responses: { 200: "ContentFilters" },
|
|
1401
2670
|
errors: [],
|
|
1402
2671
|
errorSets: [
|
|
1403
|
-
"module:
|
|
2672
|
+
"module:discovery",
|
|
1404
2673
|
"auth",
|
|
1405
2674
|
"request"
|
|
1406
2675
|
]
|
|
1407
2676
|
},
|
|
1408
2677
|
{
|
|
1409
|
-
method: "
|
|
1410
|
-
module: "
|
|
1411
|
-
path: "/
|
|
1412
|
-
auth: "
|
|
1413
|
-
permission:
|
|
1414
|
-
query: [],
|
|
1415
|
-
request: "
|
|
1416
|
-
responses: { 200: "
|
|
2678
|
+
method: "PUT",
|
|
2679
|
+
module: "discovery",
|
|
2680
|
+
path: "/me/content-filters",
|
|
2681
|
+
auth: "user",
|
|
2682
|
+
permission: null,
|
|
2683
|
+
query: ["language"],
|
|
2684
|
+
request: "ContentFiltersUpdate",
|
|
2685
|
+
responses: { 200: "ContentFilters" },
|
|
1417
2686
|
errors: [],
|
|
1418
2687
|
errorSets: [
|
|
1419
|
-
"module:
|
|
2688
|
+
"module:discovery",
|
|
1420
2689
|
"auth",
|
|
1421
2690
|
"request"
|
|
1422
2691
|
]
|
|
1423
2692
|
},
|
|
1424
2693
|
{
|
|
1425
2694
|
method: "GET",
|
|
1426
|
-
module: "
|
|
1427
|
-
path: "/
|
|
1428
|
-
auth: "
|
|
1429
|
-
permission:
|
|
1430
|
-
query: [
|
|
2695
|
+
module: "discovery",
|
|
2696
|
+
path: "/me/history",
|
|
2697
|
+
auth: "user",
|
|
2698
|
+
permission: null,
|
|
2699
|
+
query: [
|
|
2700
|
+
"kind",
|
|
2701
|
+
"status",
|
|
2702
|
+
"card_groups",
|
|
2703
|
+
"language",
|
|
2704
|
+
"display_language",
|
|
2705
|
+
"mode",
|
|
2706
|
+
"cursor",
|
|
2707
|
+
"limit"
|
|
2708
|
+
],
|
|
1431
2709
|
request: null,
|
|
1432
|
-
responses: { 200: "
|
|
1433
|
-
errors: [],
|
|
2710
|
+
responses: { 200: "ContentPage" },
|
|
2711
|
+
errors: ["not_configured"],
|
|
2712
|
+
errorSets: [
|
|
2713
|
+
"module:discovery",
|
|
2714
|
+
"auth",
|
|
2715
|
+
"request"
|
|
2716
|
+
]
|
|
2717
|
+
},
|
|
2718
|
+
{
|
|
2719
|
+
method: "DELETE",
|
|
2720
|
+
module: "discovery",
|
|
2721
|
+
path: "/me/history",
|
|
2722
|
+
auth: "user",
|
|
2723
|
+
permission: null,
|
|
2724
|
+
query: ["kind", "content_id"],
|
|
2725
|
+
request: null,
|
|
2726
|
+
responses: { 204: null },
|
|
2727
|
+
errors: ["not_found", "not_configured"],
|
|
1434
2728
|
errorSets: [
|
|
1435
|
-
"module:
|
|
2729
|
+
"module:discovery",
|
|
1436
2730
|
"auth",
|
|
1437
2731
|
"request"
|
|
1438
2732
|
]
|
|
1439
2733
|
},
|
|
1440
2734
|
{
|
|
1441
2735
|
method: "POST",
|
|
1442
|
-
module: "
|
|
1443
|
-
path: "/
|
|
1444
|
-
auth: "
|
|
1445
|
-
permission:
|
|
2736
|
+
module: "discovery",
|
|
2737
|
+
path: "/signals",
|
|
2738
|
+
auth: "public",
|
|
2739
|
+
permission: null,
|
|
1446
2740
|
query: [],
|
|
1447
|
-
request:
|
|
1448
|
-
responses: {
|
|
1449
|
-
errors: [],
|
|
1450
|
-
errorSets: [
|
|
2741
|
+
request: "Signals",
|
|
2742
|
+
responses: { 204: null },
|
|
2743
|
+
errors: ["not_found", "not_configured"],
|
|
2744
|
+
errorSets: [
|
|
2745
|
+
"module:discovery",
|
|
2746
|
+
"auth",
|
|
2747
|
+
"request"
|
|
2748
|
+
]
|
|
1451
2749
|
},
|
|
1452
2750
|
{
|
|
1453
|
-
method: "
|
|
1454
|
-
module: "
|
|
1455
|
-
path: "/
|
|
1456
|
-
auth: "
|
|
2751
|
+
method: "POST",
|
|
2752
|
+
module: "discovery",
|
|
2753
|
+
path: "/exposures",
|
|
2754
|
+
auth: "public",
|
|
1457
2755
|
permission: null,
|
|
1458
|
-
query: [
|
|
1459
|
-
request:
|
|
1460
|
-
responses: {
|
|
1461
|
-
errors: ["
|
|
1462
|
-
errorSets: [
|
|
2756
|
+
query: [],
|
|
2757
|
+
request: "Exposures",
|
|
2758
|
+
responses: { 204: null },
|
|
2759
|
+
errors: ["not_found", "not_configured"],
|
|
2760
|
+
errorSets: [
|
|
2761
|
+
"module:discovery",
|
|
2762
|
+
"auth",
|
|
2763
|
+
"request"
|
|
2764
|
+
]
|
|
1463
2765
|
},
|
|
1464
2766
|
{
|
|
1465
2767
|
method: "GET",
|
|
1466
|
-
module: "
|
|
1467
|
-
path: "/
|
|
2768
|
+
module: "discovery",
|
|
2769
|
+
path: "/me/favorites",
|
|
1468
2770
|
auth: "user",
|
|
1469
2771
|
permission: null,
|
|
1470
2772
|
query: [
|
|
1471
|
-
"
|
|
2773
|
+
"target",
|
|
2774
|
+
"kind",
|
|
2775
|
+
"card_groups",
|
|
1472
2776
|
"cursor",
|
|
1473
|
-
"
|
|
1474
|
-
"
|
|
2777
|
+
"limit",
|
|
2778
|
+
"language",
|
|
2779
|
+
"display_language",
|
|
2780
|
+
"mode"
|
|
1475
2781
|
],
|
|
1476
2782
|
request: null,
|
|
1477
|
-
responses: { 200: "
|
|
2783
|
+
responses: { 200: "InteractionPage" },
|
|
1478
2784
|
errors: [],
|
|
1479
2785
|
errorSets: [
|
|
1480
|
-
"module:
|
|
2786
|
+
"module:discovery",
|
|
1481
2787
|
"auth",
|
|
1482
2788
|
"request"
|
|
1483
2789
|
]
|
|
1484
2790
|
},
|
|
1485
2791
|
{
|
|
1486
|
-
method: "
|
|
1487
|
-
module: "
|
|
1488
|
-
path: "/
|
|
2792
|
+
method: "GET",
|
|
2793
|
+
module: "discovery",
|
|
2794
|
+
path: "/me/reactions",
|
|
1489
2795
|
auth: "user",
|
|
1490
2796
|
permission: null,
|
|
1491
|
-
query: [
|
|
2797
|
+
query: [
|
|
2798
|
+
"value",
|
|
2799
|
+
"target",
|
|
2800
|
+
"kind",
|
|
2801
|
+
"card_groups",
|
|
2802
|
+
"cursor",
|
|
2803
|
+
"limit",
|
|
2804
|
+
"language",
|
|
2805
|
+
"display_language",
|
|
2806
|
+
"mode"
|
|
2807
|
+
],
|
|
1492
2808
|
request: null,
|
|
1493
|
-
responses: { 200: "
|
|
1494
|
-
errors: [
|
|
2809
|
+
responses: { 200: "InteractionPage" },
|
|
2810
|
+
errors: [],
|
|
1495
2811
|
errorSets: [
|
|
1496
|
-
"module:
|
|
2812
|
+
"module:discovery",
|
|
1497
2813
|
"auth",
|
|
1498
2814
|
"request"
|
|
1499
2815
|
]
|
|
1500
2816
|
},
|
|
1501
2817
|
{
|
|
1502
|
-
method: "
|
|
1503
|
-
module: "
|
|
1504
|
-
path: "/
|
|
1505
|
-
auth: "
|
|
2818
|
+
method: "GET",
|
|
2819
|
+
module: "discovery",
|
|
2820
|
+
path: "/me/searches",
|
|
2821
|
+
auth: "public",
|
|
1506
2822
|
permission: null,
|
|
1507
|
-
query: [],
|
|
2823
|
+
query: ["session", "limit"],
|
|
1508
2824
|
request: null,
|
|
1509
|
-
responses: { 200: "
|
|
1510
|
-
errors: [
|
|
2825
|
+
responses: { 200: "RecentSearches" },
|
|
2826
|
+
errors: [],
|
|
1511
2827
|
errorSets: [
|
|
1512
|
-
"module:
|
|
2828
|
+
"module:discovery",
|
|
1513
2829
|
"auth",
|
|
1514
2830
|
"request"
|
|
1515
2831
|
]
|
|
1516
2832
|
},
|
|
1517
2833
|
{
|
|
1518
|
-
method: "
|
|
1519
|
-
module: "
|
|
1520
|
-
path: "/
|
|
1521
|
-
auth: "
|
|
2834
|
+
method: "DELETE",
|
|
2835
|
+
module: "discovery",
|
|
2836
|
+
path: "/me/searches",
|
|
2837
|
+
auth: "public",
|
|
1522
2838
|
permission: null,
|
|
1523
|
-
query: [],
|
|
2839
|
+
query: ["session", "query"],
|
|
1524
2840
|
request: null,
|
|
1525
|
-
responses: {
|
|
1526
|
-
errors: [
|
|
2841
|
+
responses: { 204: null },
|
|
2842
|
+
errors: [],
|
|
1527
2843
|
errorSets: [
|
|
1528
|
-
"module:
|
|
2844
|
+
"module:discovery",
|
|
1529
2845
|
"auth",
|
|
1530
2846
|
"request"
|
|
1531
2847
|
]
|
|
1532
2848
|
},
|
|
1533
2849
|
{
|
|
1534
|
-
method: "
|
|
1535
|
-
module: "
|
|
1536
|
-
path: "/
|
|
1537
|
-
auth: "
|
|
1538
|
-
permission:
|
|
2850
|
+
method: "POST",
|
|
2851
|
+
module: "import",
|
|
2852
|
+
path: "/import",
|
|
2853
|
+
auth: "staff",
|
|
2854
|
+
permission: "root:import:write",
|
|
1539
2855
|
query: [],
|
|
1540
|
-
request:
|
|
1541
|
-
responses: { 200: "
|
|
1542
|
-
errors: [
|
|
2856
|
+
request: "Batch",
|
|
2857
|
+
responses: { 200: "Result" },
|
|
2858
|
+
errors: [],
|
|
1543
2859
|
errorSets: [
|
|
1544
|
-
"module:
|
|
2860
|
+
"module:import",
|
|
1545
2861
|
"auth",
|
|
1546
2862
|
"request"
|
|
1547
2863
|
]
|
|
1548
2864
|
}
|
|
1549
2865
|
];
|
|
1550
2866
|
//#endregion
|
|
1551
|
-
export { e as CONTENTKIT_ROUTES };
|
|
2867
|
+
export { e as CONTENTKIT_MODULES, t as CONTENTKIT_ROUTES };
|
|
1552
2868
|
|
|
1553
2869
|
//# sourceMappingURL=routes.js.map
|