aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-05 14:56:28 +0200
committerChocobozzz <chocobozzz@cpy.re>2022-04-15 09:49:35 +0200
commitbfbdfc584a4f0cd078fc159b2eb59e872873f592 (patch)
tree3088974dc9a8afbde455137143f719c8e39a32d3 /support
parentcf158e7e24c5b601ea07525b2f629b46ff37b042 (diff)
downloadPeerTube-bfbdfc584a4f0cd078fc159b2eb59e872873f592.tar.gz
PeerTube-bfbdfc584a4f0cd078fc159b2eb59e872873f592.tar.zst
PeerTube-bfbdfc584a4f0cd078fc159b2eb59e872873f592.zip
Add event doc to view endpoint
Diffstat (limited to 'support')
-rw-r--r--support/doc/api/openapi.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 7b8461c72..407f3eb10 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -6127,12 +6127,21 @@ components:
6127 type: string 6127 type: string
6128 description: text or bio displayed on the account's profile 6128 description: text or bio displayed on the account's profile
6129 UserViewingVideo: 6129 UserViewingVideo:
6130 required:
6131 - currentTime
6130 properties: 6132 properties:
6131 currentTime: 6133 currentTime:
6132 type: integer 6134 type: integer
6133 format: seconds 6135 format: seconds
6134 description: timestamp within the video, in seconds 6136 description: timestamp within the video, in seconds
6135 example: 5 6137 example: 5
6138 viewEvent:
6139 type: string
6140 enum:
6141 - seek
6142 description: >
6143 Event since last viewing call:
6144 * `seek` - If the user seeked the video
6136 6145
6137 VideoStatsOverall: 6146 VideoStatsOverall:
6138 properties: 6147 properties: