mirror of https://github.com/Chocobozzz/PeerTube
Add event doc to view endpoint
parent
cf158e7e24
commit
bfbdfc584a
|
@ -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'
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
export interface ViewObject {
|
||||
type: 'View'
|
||||
actor: string
|
||||
object: string
|
||||
}
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue