{ "operationId": "addView", "method": "POST", "path": "/api/v1/videos/{id}/views", "summary": "Notify user is watching a video", "description": "Call this endpoint regularly (every 5-10 seconds for example) to notify the server the user is watching the video. After a while, PeerTube will increase video's viewers counter. If the user is authenticated, PeerTube will also store the current player time.", "tags": [ "Video" ], "parameters": [ { "name": null, "in": null, "required": false, "description": "", "schema": {} } ], "requestBody": { "contentType": "application/json", "schema": { "$ref": "#/components/schemas/UserViewingVideo" }, "example": {} }, "responses": { "204": { "description": "successful operation", "examples": {} } } }