Spaces:
Runtime error
Runtime error
imperialwool
commited on
Commit
•
6aed9f0
1
Parent(s):
ec78582
hm
Browse files- static/api.yaml +549 -549
static/api.yaml
CHANGED
@@ -1,567 +1,567 @@
|
|
|
|
1 |
openapi: 3.0.0
|
2 |
-
info:
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
servers:
|
7 |
-
- url:
|
8 |
-
description:
|
9 |
paths:
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
schema:
|
318 |
-
$ref: "#/components/schemas/ErrorObject"
|
319 |
components:
|
320 |
schemas:
|
321 |
SongFullObject:
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
SongPreviewObject:
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
BeatmapObject:
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
PredictedSentimentObject:
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
PredictedToxicityObject:
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
FindBeatmapsObject:
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
JokeObject:
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
|
|
|
|
427 |
JokeSourceObject:
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
SysinfoObject:
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
ErrorObject:
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
YTSearchObject:
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
YTFullObject:
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
YTPreviewResult:
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
|
|
1 |
+
---
|
2 |
openapi: 3.0.0
|
3 |
+
info:
|
4 |
+
title: imperialwool's FunAPI
|
5 |
+
description: Big API for bots, developers or just fun by @podvaljoey (telegram).
|
6 |
+
version: $VERSION_VARIABLE$
|
7 |
servers:
|
8 |
+
- url: https://imperialwool-funapi.hf.space/
|
9 |
+
description: You are here! ^o^
|
10 |
paths:
|
11 |
+
/analyzeText/api/v1/toxicity:
|
12 |
+
post:
|
13 |
+
"200":
|
14 |
+
description: OK
|
15 |
+
content: null
|
16 |
+
application/json:
|
17 |
+
schema: null
|
18 |
+
$ref: "#/components/schemas/PredictedToxicityObject"
|
19 |
+
"400":
|
20 |
+
description: Bad Request
|
21 |
+
content: null
|
22 |
+
application/json:
|
23 |
+
schema: null
|
24 |
+
$ref: "#/components/schemas/ErrorObject"
|
25 |
+
tags:
|
26 |
+
- Analyze text API
|
27 |
+
parameters:
|
28 |
+
- name: text
|
29 |
+
description: Text to analyze
|
30 |
+
in: lang
|
31 |
+
schema:
|
32 |
+
type: string
|
33 |
+
example: ru
|
34 |
+
summary: Classifying a text as toxic or not toxic
|
35 |
+
responses: null
|
36 |
+
/analyzeText/api/v1/sentiment:
|
37 |
+
post:
|
38 |
+
"200":
|
39 |
+
description: OK
|
40 |
+
content: null
|
41 |
+
application/json:
|
42 |
+
schema: null
|
43 |
+
$ref: "#/components/schemas/PredictedSentimentObject"
|
44 |
+
"400":
|
45 |
+
description: Bad Request
|
46 |
+
content: null
|
47 |
+
application/json:
|
48 |
+
schema: null
|
49 |
+
$ref: "#/components/schemas/ErrorObject"
|
50 |
+
tags:
|
51 |
+
- Analyze text API
|
52 |
+
parameters:
|
53 |
+
- name: text
|
54 |
+
description: Text to analyze
|
55 |
+
in: lang
|
56 |
+
schema:
|
57 |
+
type: string
|
58 |
+
example: ru
|
59 |
+
summary: Classifying a text as negative, positive or neutral
|
60 |
+
responses: null
|
61 |
+
/jokes/api/v1/get:
|
62 |
+
post:
|
63 |
+
"200":
|
64 |
+
description: OK
|
65 |
+
content: null
|
66 |
+
application/json:
|
67 |
+
schema: null
|
68 |
+
$ref: "#/components/schemas/JokeObject"
|
69 |
+
"400":
|
70 |
+
description: Bad Request
|
71 |
+
content: null
|
72 |
+
application/json:
|
73 |
+
schema: null
|
74 |
+
$ref: "#/components/schemas/ErrorObject"
|
75 |
+
tags:
|
76 |
+
- Jokes API
|
77 |
+
parameters:
|
78 |
+
- name: lang
|
79 |
+
description: Language in which to look for a joke. (Now supported only ru, sorry.)
|
80 |
+
in: lang
|
81 |
+
schema:
|
82 |
+
type: string
|
83 |
+
example: ru
|
84 |
+
- name: source
|
85 |
+
description: You can get sources and use one of them, if you like.
|
86 |
+
in: source
|
87 |
+
schema:
|
88 |
+
type: string
|
89 |
+
example: chucknorris
|
90 |
+
summary: Finding joke by language
|
91 |
+
responses: null
|
92 |
+
/jokes/api/v1/sources:
|
93 |
+
post:
|
94 |
+
"200":
|
95 |
+
description: OK
|
96 |
+
content: null
|
97 |
+
application/json:
|
98 |
+
schema: null
|
99 |
+
$ref: "#/components/schemas/JokeSourceObject"
|
100 |
+
"400":
|
101 |
+
description: Bad Request
|
102 |
+
content: null
|
103 |
+
application/json:
|
104 |
+
schema: null
|
105 |
+
$ref: "#/components/schemas/ErrorObject"
|
106 |
+
tags:
|
107 |
+
- Jokes API
|
108 |
+
summary: Showing all possible jokes sources
|
109 |
+
responses: null
|
110 |
+
/osu/api/v1/find-song:
|
111 |
+
post:
|
112 |
+
"200":
|
113 |
+
description: OK
|
114 |
+
content: null
|
115 |
+
application/json:
|
116 |
+
schema: null
|
117 |
+
$ref: "#/components/schemas/FindBeatmapsObject"
|
118 |
+
"400":
|
119 |
+
description: Bad Request
|
120 |
+
content: null
|
121 |
+
application/json:
|
122 |
+
schema: null
|
123 |
+
$ref: "#/components/schemas/ErrorObject"
|
124 |
+
tags:
|
125 |
+
- osu! API
|
126 |
+
parameters:
|
127 |
+
- name: query
|
128 |
+
description: Query to find beatmap.
|
129 |
+
in: query
|
130 |
+
schema:
|
131 |
+
type: string
|
132 |
+
example: rickroll
|
133 |
+
summary: Finding beatmap by query
|
134 |
+
responses: null
|
135 |
+
/osu/api/v1/get-full:
|
136 |
+
post:
|
137 |
+
"200":
|
138 |
+
description: OK
|
139 |
+
content: null
|
140 |
+
application/json:
|
141 |
+
schema: null
|
142 |
+
$ref: "#/components/schemas/SongFullObject"
|
143 |
+
"400":
|
144 |
+
description: Bad Request
|
145 |
+
content: null
|
146 |
+
application/json:
|
147 |
+
schema: null
|
148 |
+
$ref: "#/components/schemas/ErrorObject"
|
149 |
+
tags:
|
150 |
+
- osu! API
|
151 |
+
parameters:
|
152 |
+
- name: query
|
153 |
+
description: Query to find beatmap and download full song.
|
154 |
+
in: query
|
155 |
+
schema:
|
156 |
+
type: string
|
157 |
+
example: rickroll
|
158 |
+
- name: beatmapId
|
159 |
+
description: Beatset id. Not map, set.
|
160 |
+
in: query
|
161 |
+
schema:
|
162 |
+
type: integer
|
163 |
+
example: 1
|
164 |
+
summary: Get beatmap's full song
|
165 |
+
responses: null
|
166 |
+
/osu/api/v1/get-preview:
|
167 |
+
post:
|
168 |
+
"200":
|
169 |
+
description: OK
|
170 |
+
content: null
|
171 |
+
application/json:
|
172 |
+
schema: null
|
173 |
+
$ref: "#/components/schemas/SongPreviewObject"
|
174 |
+
"400":
|
175 |
+
description: Bad Request
|
176 |
+
content: null
|
177 |
+
application/json:
|
178 |
+
schema: null
|
179 |
+
$ref: "#/components/schemas/ErrorObject"
|
180 |
+
tags:
|
181 |
+
- osu! API
|
182 |
+
parameters:
|
183 |
+
- name: query
|
184 |
+
description: Query to find beatmap and download full song.
|
185 |
+
in: query
|
186 |
+
schema:
|
187 |
+
type: string
|
188 |
+
example: rickroll
|
189 |
+
- name: beatmapId
|
190 |
+
description: Beatset id. Not map, set.
|
191 |
+
in: query
|
192 |
+
schema:
|
193 |
+
type: integer
|
194 |
+
example: 1
|
195 |
+
summary: Get beatmap's song preview
|
196 |
+
responses: null
|
197 |
+
/system/api/v1/info:
|
198 |
+
post:
|
199 |
+
"200":
|
200 |
+
description: OK
|
201 |
+
content: null
|
202 |
+
application/json:
|
203 |
+
schema: null
|
204 |
+
$ref: "#/components/schemas/SysinfoObject"
|
205 |
+
"400":
|
206 |
+
description: Bad Request
|
207 |
+
content: null
|
208 |
+
application/json:
|
209 |
+
schema: null
|
210 |
+
$ref: "#/components/schemas/ErrorObject"
|
211 |
+
tags:
|
212 |
+
- System information
|
213 |
+
summary: Information about server
|
214 |
+
responses: null
|
215 |
+
/yt/api/v1/search:
|
216 |
+
post:
|
217 |
+
"200":
|
218 |
+
description: OK
|
219 |
+
content: null
|
220 |
+
application/json:
|
221 |
+
schema: null
|
222 |
+
$ref: "#/components/schemas/YTSearchObject"
|
223 |
+
"400":
|
224 |
+
description: Bad Request
|
225 |
+
content: null
|
226 |
+
application/json:
|
227 |
+
schema: null
|
228 |
+
$ref: "#/components/schemas/ErrorObject"
|
229 |
+
tags:
|
230 |
+
- "Youtube: Becoming Music Platform"
|
231 |
+
parameters:
|
232 |
+
- name: query
|
233 |
+
description: Query for YouTube to find videos.
|
234 |
+
in: query
|
235 |
+
schema:
|
236 |
+
type: string
|
237 |
+
example: never gonna give you up
|
238 |
+
summary: This method can help with searching videos on YouTube
|
239 |
+
responses: null
|
240 |
+
/yt/api/v1/get-full:
|
241 |
+
post:
|
242 |
+
"200":
|
243 |
+
description: OK
|
244 |
+
content: null
|
245 |
+
application/json:
|
246 |
+
schema: null
|
247 |
+
$ref: "#/components/schemas/YTFullObject"
|
248 |
+
"400":
|
249 |
+
description: Bad Request
|
250 |
+
content: null
|
251 |
+
application/json:
|
252 |
+
schema: null
|
253 |
+
$ref: "#/components/schemas/ErrorObject"
|
254 |
+
tags:
|
255 |
+
- "Youtube: Becoming Music Platform"
|
256 |
+
parameters:
|
257 |
+
- name: url
|
258 |
+
description: Url to video from YouTube. (TikTok also works sometimes.)
|
259 |
+
in: query
|
260 |
+
schema:
|
261 |
+
type: string
|
262 |
+
- name: bitrate
|
263 |
+
description: Bitrate of final audio.
|
264 |
+
in: query
|
265 |
+
schema:
|
266 |
+
type: string
|
267 |
+
example: 64k
|
268 |
+
- name: quality
|
269 |
+
description: Quality of final audio. Only 'worst' or 'best'.
|
270 |
+
in: query
|
271 |
+
schema:
|
272 |
+
type: string
|
273 |
+
example: worst
|
274 |
+
summary: Download video as audio and providing link for you
|
275 |
+
responses: null
|
276 |
+
/yt/api/v1/get-preview:
|
277 |
+
post:
|
278 |
+
"200":
|
279 |
+
description: OK
|
280 |
+
content: null
|
281 |
+
application/json:
|
282 |
+
schema: null
|
283 |
+
$ref: "#/components/schemas/YTPreviewResult"
|
284 |
+
"400":
|
285 |
+
description: Bad Request
|
286 |
+
content: null
|
287 |
+
application/json:
|
288 |
+
schema: null
|
289 |
+
$ref: "#/components/schemas/ErrorObject"
|
290 |
+
tags:
|
291 |
+
- "Youtube: Becoming Music Platform"
|
292 |
+
parameters:
|
293 |
+
- name: url
|
294 |
+
description: Url to video from YouTube. (TikTok also works sometimes.)
|
295 |
+
in: query
|
296 |
+
schema:
|
297 |
+
type: string
|
298 |
+
- name: bitrate
|
299 |
+
description: Bitrate of final audio.
|
300 |
+
in: query
|
301 |
+
schema:
|
302 |
+
type: string
|
303 |
+
example: 64k
|
304 |
+
- name: quality
|
305 |
+
description: Quality of final audio. Only 'worst' or 'best'.
|
306 |
+
in: query
|
307 |
+
schema:
|
308 |
+
type: string
|
309 |
+
example: worst
|
310 |
+
- name: duration
|
311 |
+
description: Duration of preview. Maximum 60 seconds.
|
312 |
+
in: query
|
313 |
+
schema:
|
314 |
+
type: integer
|
315 |
+
example: 45
|
316 |
+
summary: Download video as cutted audio and providing link for you
|
317 |
+
responses: null
|
|
|
|
|
318 |
components:
|
319 |
schemas:
|
320 |
SongFullObject:
|
321 |
+
type: object
|
322 |
+
properties:
|
323 |
+
status:
|
324 |
+
type: string
|
325 |
+
example: pass
|
326 |
+
details:
|
327 |
+
type: object
|
328 |
+
properties:
|
329 |
+
code:
|
330 |
+
type: integer
|
331 |
+
example: 200
|
332 |
+
name:
|
333 |
+
type: string
|
334 |
+
example: 1592415.ogg
|
335 |
+
result:
|
336 |
+
type: string
|
337 |
+
example: https://imperialwool-funapi.hf.space/static/full/1592415.ogg
|
338 |
SongPreviewObject:
|
339 |
+
type: object
|
340 |
+
properties:
|
341 |
+
status:
|
342 |
+
type: string
|
343 |
+
example: pass
|
344 |
+
details:
|
345 |
+
type: object
|
346 |
+
properties:
|
347 |
+
code:
|
348 |
+
type: integer
|
349 |
+
example: 200
|
350 |
+
name:
|
351 |
+
type: string
|
352 |
+
example: 1244874.mp3
|
353 |
+
result:
|
354 |
+
type: string
|
355 |
+
example: https://b.ppy.sh/preview/1244874.mp3
|
356 |
BeatmapObject:
|
357 |
+
type: object
|
358 |
+
properties:
|
359 |
+
artist:
|
360 |
+
type: string
|
361 |
+
example: never gonna give you up remix
|
362 |
+
beatmapId:
|
363 |
+
type: integer
|
364 |
+
example: 1542795
|
365 |
+
creator:
|
366 |
+
type: string
|
367 |
+
example: CrisFloppa
|
368 |
+
source:
|
369 |
+
type: string
|
370 |
+
example: ""
|
371 |
+
tags:
|
372 |
+
type: string
|
373 |
+
example: never gonna gie you up rick roll
|
374 |
+
title:
|
375 |
+
type: string
|
376 |
+
example: rick astley
|
377 |
PredictedSentimentObject:
|
378 |
+
type: object
|
379 |
+
properties:
|
380 |
+
status:
|
381 |
+
type: string
|
382 |
+
example: pass
|
383 |
+
predicted_sentiment:
|
384 |
+
type: string
|
385 |
+
example: Positive
|
386 |
PredictedToxicityObject:
|
387 |
+
type: object
|
388 |
+
properties:
|
389 |
+
status:
|
390 |
+
type: string
|
391 |
+
example: pass
|
392 |
+
toxicity:
|
393 |
+
type: bool
|
394 |
+
example: false
|
395 |
FindBeatmapsObject:
|
396 |
+
type: object
|
397 |
+
properties:
|
398 |
+
status:
|
399 |
+
type: string
|
400 |
+
example: pass
|
401 |
+
details:
|
402 |
+
type: object
|
403 |
+
properties:
|
404 |
+
code:
|
405 |
+
type: integer
|
406 |
+
example: 200
|
407 |
+
result:
|
408 |
+
type: array
|
409 |
+
items:
|
410 |
+
$ref: "#/components/schemas/BeatmapObject"
|
411 |
JokeObject:
|
412 |
+
type: object
|
413 |
+
properties:
|
414 |
+
status:
|
415 |
+
type: string
|
416 |
+
example: pass
|
417 |
+
details:
|
418 |
+
type: object
|
419 |
+
properties:
|
420 |
+
code:
|
421 |
+
type: integer
|
422 |
+
example: 200
|
423 |
+
result:
|
424 |
+
type: string
|
425 |
+
example: |-
|
426 |
+
.NET developers are picky when it comes to food.
|
427 |
+
They only like chicken NuGet
|
428 |
JokeSourceObject:
|
429 |
+
type: object
|
430 |
+
properties:
|
431 |
+
lang1:
|
432 |
+
type: array
|
433 |
+
items:
|
434 |
+
- source 1
|
435 |
+
- source 2
|
436 |
+
- source 3
|
437 |
+
- source 4
|
438 |
+
- source 5
|
439 |
+
lang2:
|
440 |
+
type: array
|
441 |
+
items:
|
442 |
+
- source 1
|
443 |
+
- source 2
|
444 |
+
- source 3
|
445 |
+
- source 4
|
446 |
+
- source 5
|
|
|
447 |
SysinfoObject:
|
448 |
+
type: object
|
449 |
+
properties:
|
450 |
+
API_VERSION:
|
451 |
+
type: string
|
452 |
+
example: $VERSION_VARIABLE$
|
453 |
+
CPU_INFO:
|
454 |
+
type: object
|
455 |
+
properties:
|
456 |
+
cpu_brand:
|
457 |
+
type: string
|
458 |
+
example: AMD EPYC 7R13 Processor
|
459 |
+
cpu_count:
|
460 |
+
type: object
|
461 |
+
properties:
|
462 |
+
all:
|
463 |
+
type: integer
|
464 |
+
example: 16
|
465 |
+
exclude_virtual:
|
466 |
+
type: integer
|
467 |
+
example: 8
|
468 |
+
cpu_freq:
|
469 |
+
type: object
|
470 |
+
properties:
|
471 |
+
current:
|
472 |
+
type: number
|
473 |
+
format: float
|
474 |
+
example: 3522.9323125
|
475 |
+
min:
|
476 |
+
type: number
|
477 |
+
format: float
|
478 |
+
example: 0
|
479 |
+
max:
|
480 |
+
type: number
|
481 |
+
format: float
|
482 |
+
example: 3600
|
483 |
+
cpu_load:
|
484 |
+
type: number
|
485 |
+
format: float
|
486 |
+
example: 16.2
|
487 |
+
MEM_INFO:
|
488 |
+
type: object
|
489 |
+
properties:
|
490 |
+
mem_total:
|
491 |
+
type: integer
|
492 |
+
example: 126125
|
493 |
+
mem_used:
|
494 |
+
type: integer
|
495 |
+
example: 87497
|
496 |
ErrorObject:
|
497 |
+
type: object
|
498 |
+
properties:
|
499 |
+
status:
|
500 |
+
type: string
|
501 |
+
example: error
|
502 |
+
details:
|
503 |
+
type: object
|
504 |
+
properties:
|
505 |
+
error_code:
|
506 |
+
type: integer
|
507 |
+
example: 1337
|
508 |
+
error_details:
|
509 |
+
type: string
|
510 |
+
example: Some error
|
511 |
YTSearchObject:
|
512 |
+
type: object
|
513 |
+
properties:
|
514 |
+
status:
|
515 |
+
type: string
|
516 |
+
example: ok
|
517 |
+
query:
|
518 |
+
type: string
|
519 |
+
example: never gonna give you up
|
520 |
+
videoIds:
|
521 |
+
type: object
|
522 |
+
properties:
|
523 |
+
"0":
|
524 |
+
type: string
|
525 |
+
example: dQw4w9WgXcQ
|
526 |
+
"1":
|
527 |
+
type: string
|
528 |
+
example: GtL1huin9EE
|
529 |
+
"2":
|
530 |
+
type: string
|
531 |
+
example: uXV-IaR_vNE
|
532 |
YTFullObject:
|
533 |
+
type: object
|
534 |
+
properties:
|
535 |
+
status:
|
536 |
+
type: string
|
537 |
+
example: pass
|
538 |
+
details:
|
539 |
+
type: object
|
540 |
+
properties:
|
541 |
+
code:
|
542 |
+
type: integer
|
543 |
+
example: 0
|
544 |
+
name:
|
545 |
+
type: string
|
546 |
+
example: R8YprjS6ztg.ogg
|
547 |
+
result:
|
548 |
+
type: string
|
549 |
+
example: https://imperialwool-funapi.hf.space/static/full/R8YprjS6ztg.ogg
|
550 |
YTPreviewResult:
|
551 |
+
type: object
|
552 |
+
properties:
|
553 |
+
status:
|
554 |
+
type: string
|
555 |
+
example: pass
|
556 |
+
details:
|
557 |
+
type: object
|
558 |
+
properties:
|
559 |
+
code:
|
560 |
+
type: integer
|
561 |
+
example: 0
|
562 |
+
name:
|
563 |
+
type: string
|
564 |
+
example: R8YprjS6ztg.ogg
|
565 |
+
result:
|
566 |
+
type: string
|
567 |
+
example: https://imperialwool-funapi.hf.space/static/previews/R8YprjS6ztg.ogg
|