Add event doc to view endpoint

pull/4903/head
Chocobozzz 2022-04-05 14:56:28 +02:00 committed by Chocobozzz
parent cf158e7e24
commit bfbdfc584a
3 changed files with 9 additions and 6 deletions

View File

@ -7,5 +7,4 @@ export * from './playlist-element-object'
export * from './playlist-object' export * from './playlist-object'
export * from './video-comment-object' export * from './video-comment-object'
export * from './video-torrent-object' export * from './video-torrent-object'
export * from './view-object'
export * from './watch-action-object' export * from './watch-action-object'

View File

@ -1,5 +0,0 @@
export interface ViewObject {
type: 'View'
actor: string
object: string
}

View File

@ -6127,12 +6127,21 @@ components:
type: string type: string
description: text or bio displayed on the account's profile description: text or bio displayed on the account's profile
UserViewingVideo: UserViewingVideo:
required:
- currentTime
properties: properties:
currentTime: currentTime:
type: integer type: integer
format: seconds format: seconds
description: timestamp within the video, in seconds description: timestamp within the video, in seconds
example: 5 example: 5
viewEvent:
type: string
enum:
- seek
description: >
Event since last viewing call:
* `seek` - If the user seeked the video
VideoStatsOverall: VideoStatsOverall:
properties: properties: