3535 "paths" : {
3636 "/exec" : {
3737 "post" : {
38- "tags" : [
39- " download"
40- ],
38+ "tags" : [" download" ],
4139 "summary" : " Add a new download in the pending state ready to be processed" ,
4240 "description" : " Add a new download in the pending state ready to be processed" ,
4341 "operationId" : " addDownload" ,
7472 "security" : [
7573 {},
7674 {
77- "api_key" : [
78- " write:download" ,
79- " read:download"
80- ]
75+ "api_key" : [" write:download" , " read:download" ]
8176 }
8277 ]
8378 }
8479 },
8580 "/execPlaylist" : {
8681 "post" : {
87- "tags" : [
88- " download"
89- ],
82+ "tags" : [" download" ],
9083 "summary" : " Add a new playlist download in the pending state ready to be processed" ,
9184 "description" : " Add a new playlist download in the pending state ready to be processed" ,
9285 "operationId" : " addDownloadPlaylist" ,
123116 "security" : [
124117 {},
125118 {
126- "api_key" : [
127- " write:download" ,
128- " read:download"
129- ]
119+ "api_key" : [" write:download" , " read:download" ]
130120 }
131121 ]
132122 }
133123 },
134124 "/execLivestream" : {
135125 "post" : {
136- "tags" : [
137- " download"
138- ],
126+ "tags" : [" download" ],
139127 "summary" : " Add a new livestream download in the pending state ready to be processed" ,
140128 "description" : " Add a new livestream download in the pending state ready to be processed" ,
141129 "operationId" : " addDwonloadLivestream" ,
172160 "security" : [
173161 {},
174162 {
175- "api_key" : [
176- " write:download" ,
177- " read:download"
178- ]
163+ "api_key" : [" write:download" , " read:download" ]
179164 }
180165 ]
181166 }
182167 },
183168 "/running" : {
184169 "get" : {
185- "tags" : [
186- " download"
187- ],
170+ "tags" : [" download" ],
188171 "summary" : " Returns all running and pending process" ,
189172 "description" : " Returns all running and pending process" ,
190173 "operationId" : " running" ,
212195 "security" : [
213196 {},
214197 {
215- "api_key" : [
216- " write:download" ,
217- " read:download"
218- ]
198+ "api_key" : [" write:download" , " read:download" ]
219199 }
220200 ]
221201 }
355335 },
356336 "/template/{id}" : {
357337 "delete" : {
358- "parameters" : [{
359- "name" : " id" ,
360- "in" : " path" ,
361- "schema" : {
362- "type" : " string"
363- },
364- "required" : true
365- }],
338+ "parameters" : [
339+ {
340+ "name" : " id" ,
341+ "in" : " path" ,
342+ "schema" : {
343+ "type" : " string"
344+ },
345+ "required" : true
346+ }
347+ ],
366348 "responses" : {
367349 "200" : {
368350 "description" : " Successful operation" ,
393375 "url" : {
394376 "type" : " string" ,
395377 "format" : " uri" ,
396- "examples" : [
397- " https://..."
398- ]
378+ "examples" : [" https://..." ]
399379 },
400380 "path" : {
401381 "type" : " string"
408388 "items" : {
409389 "type" : " string"
410390 },
411- "examples" : [
412- " -N" ,
413- " 4" ,
414- " -R" ,
415- " infinite"
416- ]
391+ "examples" : [" -N" , " 4" , " -R" , " infinite" ]
417392 }
418393 }
419394 },
422397 "properties" : {
423398 "url" : {
424399 "type" : " string" ,
425- "examples" : [
426- " https://..."
427- ]
400+ "examples" : [" https://..." ]
428401 },
429402 "params" : {
430403 "type" : " array" ,
431404 "items" : {
432405 "type" : " string"
433406 },
434- "examples" : [
435- " -N" ,
436- " 4" ,
437- " -R" ,
438- " infinite"
439- ]
407+ "examples" : [" -N" , " 4" , " -R" , " infinite" ]
440408 }
441409 }
442410 },
445413 "properties" : {
446414 "process_status" : {
447415 "type" : " integer" ,
448- "examples" : [
449- 0 ,
450- 1 ,
451- 2 ,
452- 3
453- ]
416+ "examples" : [0 , 1 , 2 , 3 ]
454417 },
455418 "percentage" : {
456419 "type" : " string" ,
457- "examples" : [
458- " 50%"
459- ]
420+ "examples" : [" 50%" ]
460421 },
461422 "speed" : {
462423 "type" : " number" ,
463424 "format" : " float" ,
464- "examples" : [
465- 7289347
466- ]
425+ "examples" : [7289347 ]
467426 },
468427 "eta" : {
469428 "type" : " number" ,
470429 "format" : " float" ,
471- "examples" : [
472- 3600
473- ]
430+ "examples" : [3600 ]
474431 }
475432 },
476- "required" : [
477- " process_status" ,
478- " percentage" ,
479- " speed" ,
480- " eta"
481- ]
433+ "required" : [" process_status" , " percentage" , " speed" , " eta" ]
482434 },
483435 "DownloadInfo" : {
484436 "type" : " object" ,
541493 "type" : " string"
542494 }
543495 },
544- "required" : [
545- " path" ,
546- " filename" ,
547- " savedFilePath"
548- ]
496+ "required" : [" path" , " filename" , " savedFilePath" ]
549497 },
550498 "ProcessResponse" : {
551499 "type" : " object" ,
566514 }
567515 }
568516 },
569- "required" : [
570- " progress" ,
571- " info" ,
572- " output" ,
573- " params"
574- ]
517+ "required" : [" progress" , " info" , " output" , " params" ]
575518 },
576519 "GetVersionResponse" : {
577520 "type" : " object" ,
583526 "type" : " string"
584527 }
585528 },
586- "required" : [
587- " rpcVersion" ,
588- " ytdlpVersion"
589- ]
529+ "required" : [" rpcVersion" , " ytdlpVersion" ]
590530 },
591531 "SetCookiesRequest" : {
592532 "type" : " object" ,
595535 "type" : " string"
596536 }
597537 },
598- "required" : [
599- " cookies"
600- ]
538+ "required" : [" cookies" ]
601539 },
602540 "CustomTemplate" : {
603541 "type" : " object" ,
614552 "minLength" : 1
615553 }
616554 },
617- "required" : [
618- " id" ,
619- " name" ,
620- " content"
621- ]
555+ "required" : [" id" , " name" , " content" ]
622556 }
623557 },
624558 "securitySchemes" : {
629563 }
630564 }
631565 }
632- }
566+ }
0 commit comments