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 './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'
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
export interface ViewObject {
|
|
||||||
type: 'View'
|
|
||||||
actor: string
|
|
||||||
object: string
|
|
||||||
}
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue