mirror of https://github.com/Chocobozzz/PeerTube
Add view `sessionId` doc
parent
7163a1a044
commit
b0ebb77197
|
@ -8278,6 +8278,13 @@ components:
|
||||||
description: >
|
description: >
|
||||||
Event since last viewing call:
|
Event since last viewing call:
|
||||||
* `seek` - If the user seeked the video
|
* `seek` - If the user seeked the video
|
||||||
|
sessionId:
|
||||||
|
type: string
|
||||||
|
description: >
|
||||||
|
Optional param to represent the current viewer session.
|
||||||
|
Used by the backend to properly count one view per session per video.
|
||||||
|
PeerTube admin can configure the server to not trust this `sessionId` parameter but use the request IP address instead to identify a viewer.
|
||||||
|
|
||||||
|
|
||||||
VideoStatsOverall:
|
VideoStatsOverall:
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in New Issue