]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/api/openapi.yaml
Fix broken playlist api
[github/Chocobozzz/PeerTube.git] / support / doc / api / openapi.yaml
index a6f61b3b21d21e9694749f07baeb3ef9baaf10e1..39fa3cef51fa20af5044696aeb61ac7f0aa094c1 100644 (file)
@@ -1922,6 +1922,9 @@ components:
           type: number
         stopTimestamp:
           type: number
+        video:
+          nullable: true
+          $ref: '#/components/schemas/Video'
     VideoFile:
       properties:
         magnetUri:
@@ -2029,9 +2032,6 @@ components:
           properties:
             currentTime:
               type: number
-        playlistElement:
-          nullable: true
-          $ref: '#/components/schemas/PlaylistElement'
     VideoDetails:
       allOf:
         - $ref: '#/components/schemas/Video'