]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/api/openapi.yaml
Add event doc to view endpoint
[github/Chocobozzz/PeerTube.git] / support / doc / api / openapi.yaml
index 7b8461c72262ee4b17d607bedac9a2f2dbe19d27..407f3eb10f0e6f1c780548083a36aa797761469c 100644 (file)
@@ -6127,12 +6127,21 @@ components:
               type: string
               description: text or bio displayed on the account's profile
     UserViewingVideo:
+      required:
+        - currentTime
       properties:
         currentTime:
           type: integer
           format: seconds
           description: timestamp within the video, in seconds
           example: 5
+        viewEvent:
+          type: string
+          enum:
+            - seek
+          description: >
+            Event since last viewing call:
+             * `seek` - If the user seeked the video
 
     VideoStatsOverall:
       properties: