@chill-institute/contracts 2.3.12 → 2.3.14
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/package.json +1 -1
- package/proto/chill/v4/api.proto +229 -239
package/package.json
CHANGED
package/proto/chill/v4/api.proto
CHANGED
|
@@ -5,31 +5,31 @@ package chill.v4;
|
|
|
5
5
|
import "protoc-gen-openapiv2/options/annotations.proto";
|
|
6
6
|
|
|
7
7
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
|
8
|
-
base_path: "/v4"
|
|
8
|
+
base_path: "/v4"
|
|
9
9
|
info: {
|
|
10
|
-
title: "Chill API v4 RPC"
|
|
11
|
-
version: "4"
|
|
12
|
-
}
|
|
10
|
+
title: "Chill API v4 RPC"
|
|
11
|
+
version: "4"
|
|
12
|
+
}
|
|
13
13
|
security_definitions: {
|
|
14
14
|
security: {
|
|
15
|
-
key: "ApiKeyAuth"
|
|
15
|
+
key: "ApiKeyAuth"
|
|
16
16
|
value: {
|
|
17
|
-
type: TYPE_API_KEY
|
|
18
|
-
description: "Core API key. Send the key in X-API-Key. Do not use Bearer."
|
|
19
|
-
in: IN_HEADER
|
|
20
|
-
name: "X-API-Key"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
17
|
+
type: TYPE_API_KEY
|
|
18
|
+
description: "Core API key. Send the key in X-API-Key. Do not use Bearer."
|
|
19
|
+
in: IN_HEADER
|
|
20
|
+
name: "X-API-Key"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
23
|
security: {
|
|
24
|
-
key: "BearerAuth"
|
|
24
|
+
key: "BearerAuth"
|
|
25
25
|
value: {
|
|
26
|
-
type: TYPE_API_KEY
|
|
27
|
-
description: "User auth token. Format: Bearer <token>. Do not send API keys as Bearer tokens."
|
|
28
|
-
in: IN_HEADER
|
|
29
|
-
name: "Authorization"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
26
|
+
type: TYPE_API_KEY
|
|
27
|
+
description: "User auth token. Format: Bearer <token>. Do not send API keys as Bearer tokens."
|
|
28
|
+
in: IN_HEADER
|
|
29
|
+
name: "Authorization"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
service CoreService {
|
|
@@ -37,90 +37,90 @@ service CoreService {
|
|
|
37
37
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
38
38
|
security: {
|
|
39
39
|
security_requirement: {
|
|
40
|
-
key: "ApiKeyAuth"
|
|
41
|
-
value: {}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
40
|
+
key: "ApiKeyAuth"
|
|
41
|
+
value: {}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
44
|
parameters: {
|
|
45
45
|
headers: {
|
|
46
|
-
name: "X-API-Key"
|
|
47
|
-
description: "Core API key"
|
|
48
|
-
type: STRING
|
|
49
|
-
required: true
|
|
50
|
-
}
|
|
51
|
-
}
|
|
46
|
+
name: "X-API-Key"
|
|
47
|
+
description: "Core API key"
|
|
48
|
+
type: STRING
|
|
49
|
+
required: true
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
rpc GetIndexers(CoreGetIndexersRequest) returns (CoreGetIndexersResponse) {
|
|
55
55
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
56
56
|
security: {
|
|
57
57
|
security_requirement: {
|
|
58
|
-
key: "ApiKeyAuth"
|
|
59
|
-
value: {}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
58
|
+
key: "ApiKeyAuth"
|
|
59
|
+
value: {}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
62
|
parameters: {
|
|
63
63
|
headers: {
|
|
64
|
-
name: "X-API-Key"
|
|
65
|
-
description: "Core API key"
|
|
66
|
-
type: STRING
|
|
67
|
-
required: true
|
|
68
|
-
}
|
|
69
|
-
}
|
|
64
|
+
name: "X-API-Key"
|
|
65
|
+
description: "Core API key"
|
|
66
|
+
type: STRING
|
|
67
|
+
required: true
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
rpc Search(CoreSearchRequest) returns (SearchResponse) {
|
|
73
73
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
74
74
|
security: {
|
|
75
75
|
security_requirement: {
|
|
76
|
-
key: "ApiKeyAuth"
|
|
77
|
-
value: {}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
76
|
+
key: "ApiKeyAuth"
|
|
77
|
+
value: {}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
80
|
parameters: {
|
|
81
81
|
headers: {
|
|
82
|
-
name: "X-API-Key"
|
|
83
|
-
description: "Core API key"
|
|
84
|
-
type: STRING
|
|
85
|
-
required: true
|
|
86
|
-
}
|
|
87
|
-
}
|
|
82
|
+
name: "X-API-Key"
|
|
83
|
+
description: "Core API key"
|
|
84
|
+
type: STRING
|
|
85
|
+
required: true
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
rpc GetMoviesBySource(GetMoviesBySourceRequest) returns (GetMoviesBySourceResponse) {
|
|
91
91
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
92
92
|
security: {
|
|
93
93
|
security_requirement: {
|
|
94
|
-
key: "ApiKeyAuth"
|
|
95
|
-
value: {}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
94
|
+
key: "ApiKeyAuth"
|
|
95
|
+
value: {}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
98
|
parameters: {
|
|
99
99
|
headers: {
|
|
100
|
-
name: "X-API-Key"
|
|
101
|
-
description: "Core API key"
|
|
102
|
-
type: STRING
|
|
103
|
-
required: true
|
|
104
|
-
}
|
|
105
|
-
}
|
|
100
|
+
name: "X-API-Key"
|
|
101
|
+
description: "Core API key"
|
|
102
|
+
type: STRING
|
|
103
|
+
required: true
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
rpc GetTVShowsBySource(GetTVShowsBySourceRequest) returns (GetTVShowsBySourceResponse) {
|
|
109
109
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
110
110
|
security: {
|
|
111
111
|
security_requirement: {
|
|
112
|
-
key: "ApiKeyAuth"
|
|
113
|
-
value: {}
|
|
114
|
-
}
|
|
115
|
-
}
|
|
112
|
+
key: "ApiKeyAuth"
|
|
113
|
+
value: {}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
116
|
parameters: {
|
|
117
117
|
headers: {
|
|
118
|
-
name: "X-API-Key"
|
|
119
|
-
description: "Core API key"
|
|
120
|
-
type: STRING
|
|
121
|
-
required: true
|
|
122
|
-
}
|
|
123
|
-
}
|
|
118
|
+
name: "X-API-Key"
|
|
119
|
+
description: "Core API key"
|
|
120
|
+
type: STRING
|
|
121
|
+
required: true
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -130,270 +130,270 @@ service UserService {
|
|
|
130
130
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
131
131
|
security: {
|
|
132
132
|
security_requirement: {
|
|
133
|
-
key: "BearerAuth"
|
|
134
|
-
value: {}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
133
|
+
key: "BearerAuth"
|
|
134
|
+
value: {}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
137
|
parameters: {
|
|
138
138
|
headers: {
|
|
139
|
-
name: "Authorization"
|
|
140
|
-
description: "User auth token. Format: Bearer <token>."
|
|
141
|
-
type: STRING
|
|
142
|
-
required: true
|
|
143
|
-
}
|
|
144
|
-
}
|
|
139
|
+
name: "Authorization"
|
|
140
|
+
description: "User auth token. Format: Bearer <token>."
|
|
141
|
+
type: STRING
|
|
142
|
+
required: true
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
147
|
rpc Search(UserSearchRequest) returns (SearchResponse) {
|
|
148
148
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
149
149
|
security: {
|
|
150
150
|
security_requirement: {
|
|
151
|
-
key: "BearerAuth"
|
|
152
|
-
value: {}
|
|
153
|
-
}
|
|
154
|
-
}
|
|
151
|
+
key: "BearerAuth"
|
|
152
|
+
value: {}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
155
|
parameters: {
|
|
156
156
|
headers: {
|
|
157
|
-
name: "Authorization"
|
|
158
|
-
description: "User auth token. Format: Bearer <token>."
|
|
159
|
-
type: STRING
|
|
160
|
-
required: true
|
|
161
|
-
}
|
|
162
|
-
}
|
|
157
|
+
name: "Authorization"
|
|
158
|
+
description: "User auth token. Format: Bearer <token>."
|
|
159
|
+
type: STRING
|
|
160
|
+
required: true
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
165
|
rpc GetMovies(GetMoviesRequest) returns (GetMoviesResponse) {
|
|
166
166
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
167
167
|
security: {
|
|
168
168
|
security_requirement: {
|
|
169
|
-
key: "BearerAuth"
|
|
170
|
-
value: {}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
169
|
+
key: "BearerAuth"
|
|
170
|
+
value: {}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
173
|
parameters: {
|
|
174
174
|
headers: {
|
|
175
|
-
name: "Authorization"
|
|
176
|
-
description: "User auth token. Format: Bearer <token>."
|
|
177
|
-
type: STRING
|
|
178
|
-
required: true
|
|
179
|
-
}
|
|
180
|
-
}
|
|
175
|
+
name: "Authorization"
|
|
176
|
+
description: "User auth token. Format: Bearer <token>."
|
|
177
|
+
type: STRING
|
|
178
|
+
required: true
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
rpc GetTVShows(GetTVShowsRequest) returns (GetTVShowsResponse) {
|
|
184
184
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
185
185
|
security: {
|
|
186
186
|
security_requirement: {
|
|
187
|
-
key: "BearerAuth"
|
|
188
|
-
value: {}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
187
|
+
key: "BearerAuth"
|
|
188
|
+
value: {}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
191
|
parameters: {
|
|
192
192
|
headers: {
|
|
193
|
-
name: "Authorization"
|
|
194
|
-
description: "User auth token. Format: Bearer <token>."
|
|
195
|
-
type: STRING
|
|
196
|
-
required: true
|
|
197
|
-
}
|
|
198
|
-
}
|
|
193
|
+
name: "Authorization"
|
|
194
|
+
description: "User auth token. Format: Bearer <token>."
|
|
195
|
+
type: STRING
|
|
196
|
+
required: true
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
201
|
rpc GetTVShowDetail(GetTVShowDetailRequest) returns (GetTVShowDetailResponse) {
|
|
202
202
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
203
203
|
security: {
|
|
204
204
|
security_requirement: {
|
|
205
|
-
key: "BearerAuth"
|
|
206
|
-
value: {}
|
|
207
|
-
}
|
|
208
|
-
}
|
|
205
|
+
key: "BearerAuth"
|
|
206
|
+
value: {}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
209
|
parameters: {
|
|
210
210
|
headers: {
|
|
211
|
-
name: "Authorization"
|
|
212
|
-
description: "User auth token. Format: Bearer <token>."
|
|
213
|
-
type: STRING
|
|
214
|
-
required: true
|
|
215
|
-
}
|
|
216
|
-
}
|
|
211
|
+
name: "Authorization"
|
|
212
|
+
description: "User auth token. Format: Bearer <token>."
|
|
213
|
+
type: STRING
|
|
214
|
+
required: true
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
219
|
rpc GetTVShowSeason(GetTVShowSeasonRequest) returns (GetTVShowSeasonResponse) {
|
|
220
220
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
221
221
|
security: {
|
|
222
222
|
security_requirement: {
|
|
223
|
-
key: "BearerAuth"
|
|
224
|
-
value: {}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
223
|
+
key: "BearerAuth"
|
|
224
|
+
value: {}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
227
|
parameters: {
|
|
228
228
|
headers: {
|
|
229
|
-
name: "Authorization"
|
|
230
|
-
description: "User auth token. Format: Bearer <token>."
|
|
231
|
-
type: STRING
|
|
232
|
-
required: true
|
|
233
|
-
}
|
|
234
|
-
}
|
|
229
|
+
name: "Authorization"
|
|
230
|
+
description: "User auth token. Format: Bearer <token>."
|
|
231
|
+
type: STRING
|
|
232
|
+
required: true
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
rpc GetTVShowEpisodeDownload(GetTVShowEpisodeDownloadRequest) returns (GetTVShowEpisodeDownloadResponse) {
|
|
238
238
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
239
239
|
security: {
|
|
240
240
|
security_requirement: {
|
|
241
|
-
key: "BearerAuth"
|
|
242
|
-
value: {}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
241
|
+
key: "BearerAuth"
|
|
242
|
+
value: {}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
245
|
parameters: {
|
|
246
246
|
headers: {
|
|
247
|
-
name: "Authorization"
|
|
248
|
-
description: "User auth token. Format: Bearer <token>."
|
|
249
|
-
type: STRING
|
|
250
|
-
required: true
|
|
251
|
-
}
|
|
252
|
-
}
|
|
247
|
+
name: "Authorization"
|
|
248
|
+
description: "User auth token. Format: Bearer <token>."
|
|
249
|
+
type: STRING
|
|
250
|
+
required: true
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
255
|
rpc GetTVShowSeasonDownloads(GetTVShowSeasonDownloadsRequest) returns (GetTVShowSeasonDownloadsResponse) {
|
|
256
256
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
257
257
|
security: {
|
|
258
258
|
security_requirement: {
|
|
259
|
-
key: "BearerAuth"
|
|
260
|
-
value: {}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
259
|
+
key: "BearerAuth"
|
|
260
|
+
value: {}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
263
|
parameters: {
|
|
264
264
|
headers: {
|
|
265
|
-
name: "Authorization"
|
|
266
|
-
description: "User auth token. Format: Bearer <token>."
|
|
267
|
-
type: STRING
|
|
268
|
-
required: true
|
|
269
|
-
}
|
|
270
|
-
}
|
|
265
|
+
name: "Authorization"
|
|
266
|
+
description: "User auth token. Format: Bearer <token>."
|
|
267
|
+
type: STRING
|
|
268
|
+
required: true
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
273
|
rpc GetUserSettings(GetUserSettingsRequest) returns (UserSettings) {
|
|
274
274
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
275
275
|
security: {
|
|
276
276
|
security_requirement: {
|
|
277
|
-
key: "BearerAuth"
|
|
278
|
-
value: {}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
277
|
+
key: "BearerAuth"
|
|
278
|
+
value: {}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
281
|
parameters: {
|
|
282
282
|
headers: {
|
|
283
|
-
name: "Authorization"
|
|
284
|
-
description: "User auth token. Format: Bearer <token>."
|
|
285
|
-
type: STRING
|
|
286
|
-
required: true
|
|
287
|
-
}
|
|
288
|
-
}
|
|
283
|
+
name: "Authorization"
|
|
284
|
+
description: "User auth token. Format: Bearer <token>."
|
|
285
|
+
type: STRING
|
|
286
|
+
required: true
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
291
|
rpc SaveUserSettings(SaveUserSettingsRequest) returns (UserSettings) {
|
|
292
292
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
293
293
|
security: {
|
|
294
294
|
security_requirement: {
|
|
295
|
-
key: "BearerAuth"
|
|
296
|
-
value: {}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
295
|
+
key: "BearerAuth"
|
|
296
|
+
value: {}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
299
|
parameters: {
|
|
300
300
|
headers: {
|
|
301
|
-
name: "Authorization"
|
|
302
|
-
description: "User auth token. Format: Bearer <token>."
|
|
303
|
-
type: STRING
|
|
304
|
-
required: true
|
|
305
|
-
}
|
|
306
|
-
}
|
|
301
|
+
name: "Authorization"
|
|
302
|
+
description: "User auth token. Format: Bearer <token>."
|
|
303
|
+
type: STRING
|
|
304
|
+
required: true
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
309
|
rpc AddTransfer(AddTransferRequest) returns (AddTransferResponse) {
|
|
310
310
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
311
311
|
security: {
|
|
312
312
|
security_requirement: {
|
|
313
|
-
key: "BearerAuth"
|
|
314
|
-
value: {}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
313
|
+
key: "BearerAuth"
|
|
314
|
+
value: {}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
317
|
parameters: {
|
|
318
318
|
headers: {
|
|
319
|
-
name: "Authorization"
|
|
320
|
-
description: "User auth token. Format: Bearer <token>."
|
|
321
|
-
type: STRING
|
|
322
|
-
required: true
|
|
323
|
-
}
|
|
324
|
-
}
|
|
319
|
+
name: "Authorization"
|
|
320
|
+
description: "User auth token. Format: Bearer <token>."
|
|
321
|
+
type: STRING
|
|
322
|
+
required: true
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
327
|
rpc GetTransfer(GetTransferRequest) returns (GetTransferResponse) {
|
|
328
328
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
329
329
|
security: {
|
|
330
330
|
security_requirement: {
|
|
331
|
-
key: "BearerAuth"
|
|
332
|
-
value: {}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
331
|
+
key: "BearerAuth"
|
|
332
|
+
value: {}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
335
|
parameters: {
|
|
336
336
|
headers: {
|
|
337
|
-
name: "Authorization"
|
|
338
|
-
description: "User auth token. Format: Bearer <token>."
|
|
339
|
-
type: STRING
|
|
340
|
-
required: true
|
|
341
|
-
}
|
|
342
|
-
}
|
|
337
|
+
name: "Authorization"
|
|
338
|
+
description: "User auth token. Format: Bearer <token>."
|
|
339
|
+
type: STRING
|
|
340
|
+
required: true
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
345
|
rpc GetDownloadFolder(GetDownloadFolderRequest) returns (GetDownloadFolderResponse) {
|
|
346
346
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
347
347
|
security: {
|
|
348
348
|
security_requirement: {
|
|
349
|
-
key: "BearerAuth"
|
|
350
|
-
value: {}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
349
|
+
key: "BearerAuth"
|
|
350
|
+
value: {}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
353
|
parameters: {
|
|
354
354
|
headers: {
|
|
355
|
-
name: "Authorization"
|
|
356
|
-
description: "User auth token. Format: Bearer <token>."
|
|
357
|
-
type: STRING
|
|
358
|
-
required: true
|
|
359
|
-
}
|
|
360
|
-
}
|
|
355
|
+
name: "Authorization"
|
|
356
|
+
description: "User auth token. Format: Bearer <token>."
|
|
357
|
+
type: STRING
|
|
358
|
+
required: true
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
361
|
};
|
|
362
362
|
}
|
|
363
363
|
rpc GetFolder(GetFolderRequest) returns (GetFolderResponse) {
|
|
364
364
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
365
365
|
security: {
|
|
366
366
|
security_requirement: {
|
|
367
|
-
key: "BearerAuth"
|
|
368
|
-
value: {}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
367
|
+
key: "BearerAuth"
|
|
368
|
+
value: {}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
371
|
parameters: {
|
|
372
372
|
headers: {
|
|
373
|
-
name: "Authorization"
|
|
374
|
-
description: "User auth token. Format: Bearer <token>."
|
|
375
|
-
type: STRING
|
|
376
|
-
required: true
|
|
377
|
-
}
|
|
378
|
-
}
|
|
373
|
+
name: "Authorization"
|
|
374
|
+
description: "User auth token. Format: Bearer <token>."
|
|
375
|
+
type: STRING
|
|
376
|
+
required: true
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
379
|
};
|
|
380
380
|
}
|
|
381
381
|
rpc GetUserProfile(GetUserProfileRequest) returns (UserProfile) {
|
|
382
382
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
|
|
383
383
|
security: {
|
|
384
384
|
security_requirement: {
|
|
385
|
-
key: "BearerAuth"
|
|
386
|
-
value: {}
|
|
387
|
-
}
|
|
388
|
-
}
|
|
385
|
+
key: "BearerAuth"
|
|
386
|
+
value: {}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
389
|
parameters: {
|
|
390
390
|
headers: {
|
|
391
|
-
name: "Authorization"
|
|
392
|
-
description: "User auth token. Format: Bearer <token>."
|
|
393
|
-
type: STRING
|
|
394
|
-
required: true
|
|
395
|
-
}
|
|
396
|
-
}
|
|
391
|
+
name: "Authorization"
|
|
392
|
+
description: "User auth token. Format: Bearer <token>."
|
|
393
|
+
type: STRING
|
|
394
|
+
required: true
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
399
|
}
|
|
@@ -592,7 +592,10 @@ message GetMoviesResponse {
|
|
|
592
592
|
message TVShow {
|
|
593
593
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
|
594
594
|
json_schema: {
|
|
595
|
-
required: [
|
|
595
|
+
required: [
|
|
596
|
+
"imdb_id",
|
|
597
|
+
"poster_url"
|
|
598
|
+
]
|
|
596
599
|
}
|
|
597
600
|
};
|
|
598
601
|
|
|
@@ -777,29 +780,16 @@ enum SortDirection {
|
|
|
777
780
|
message UserSettings {
|
|
778
781
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = {
|
|
779
782
|
json_schema: {
|
|
780
|
-
required: [
|
|
783
|
+
required: [
|
|
784
|
+
"search",
|
|
785
|
+
"catalog",
|
|
786
|
+
"download"
|
|
787
|
+
]
|
|
781
788
|
}
|
|
782
789
|
};
|
|
783
790
|
|
|
784
791
|
reserved 1 to 18;
|
|
785
|
-
reserved
|
|
786
|
-
"codec_filters",
|
|
787
|
-
"disabled_indexer_ids",
|
|
788
|
-
"download_folder_id",
|
|
789
|
-
"filter_nasty_results",
|
|
790
|
-
"filter_results_with_no_seeders",
|
|
791
|
-
"other_filters",
|
|
792
|
-
"remember_quick_filters",
|
|
793
|
-
"resolution_filters",
|
|
794
|
-
"search_result_display_behavior",
|
|
795
|
-
"search_result_title_behavior",
|
|
796
|
-
"show_movies",
|
|
797
|
-
"sort_by",
|
|
798
|
-
"sort_direction",
|
|
799
|
-
"card_display_type",
|
|
800
|
-
"movies_source",
|
|
801
|
-
"show_tv_shows",
|
|
802
|
-
"tv_shows_source";
|
|
792
|
+
reserved "codec_filters", "disabled_indexer_ids", "download_folder_id", "filter_nasty_results", "filter_results_with_no_seeders", "other_filters", "remember_quick_filters", "resolution_filters", "search_result_display_behavior", "search_result_title_behavior", "show_movies", "sort_by", "sort_direction", "card_display_type", "movies_source", "show_tv_shows", "tv_shows_source";
|
|
803
793
|
|
|
804
794
|
SearchSettings search = 19;
|
|
805
795
|
CatalogSettings catalog = 20;
|