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