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 './video-comment-object'
export * from './video-torrent-object'
export * from './view-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
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: