aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-09 10:11:20 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-11-09 15:00:31 +0100
commit51353d9a035fb6b81f903a8b5f391292841649fd (patch)
tree75acb6eea5e043bf2e15a6a5a92e9a3c5967b156 /support/doc
parent221ee1adc916684d4881d2a9c4c01954dcde986e (diff)
downloadPeerTube-51353d9a035fb6b81f903a8b5f391292841649fd.tar.gz
PeerTube-51353d9a035fb6b81f903a8b5f391292841649fd.tar.zst
PeerTube-51353d9a035fb6b81f903a8b5f391292841649fd.zip
Refactor video views
Introduce viewers attribute for live videos Count views for live videos Reduce delay to see the viewer update for lives Add ability to configure video views buffer interval and view ip expiration
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/api/openapi.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 0f72b08d2..13757152c 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -4892,7 +4892,7 @@ components:
4892 - video-transcoding 4892 - video-transcoding
4893 - video-file-import 4893 - video-file-import
4894 - video-import 4894 - video-import
4895 - videos-views 4895 - videos-views-stats
4896 - activitypub-refresher 4896 - activitypub-refresher
4897 - video-redundancy 4897 - video-redundancy
4898 - video-live-ending 4898 - video-live-ending
@@ -5397,6 +5397,9 @@ components:
5397 - $ref: '#/components/schemas/Video' 5397 - $ref: '#/components/schemas/Video'
5398 - type: object 5398 - type: object
5399 properties: 5399 properties:
5400 viewers:
5401 type: integer
5402 description: If the video is a live, you have the amount of current viewers
5400 descriptionPath: 5403 descriptionPath:
5401 type: string 5404 type: string
5402 example: /api/v1/videos/9c9de5e8-0a1e-484a-b099-e80766180a6d/description 5405 example: /api/v1/videos/9c9de5e8-0a1e-484a-b099-e80766180a6d/description
@@ -6300,7 +6303,7 @@ components:
6300 - video-transcoding 6303 - video-transcoding
6301 - email 6304 - email
6302 - video-import 6305 - video-import
6303 - videos-views 6306 - videos-views-stats
6304 - activitypub-refresher 6307 - activitypub-refresher
6305 - video-redundancy 6308 - video-redundancy
6306 data: 6309 data: