ActivityPub-federated video streaming platform using P2P directly in your web browser
Remove deprecated doc
Chocobozzzf1eed80171d1
diff --git a/server/core/models/video/video.ts b/server/core/models/video/video.tsindex 65a4a1ea6d..c8c918a43a 100644--- a/server/core/models/video/video.ts+++ b/server/core/models/video/video.ts@@ -83,7 +83,7 @@ import {} from '../../helpers/custom-validators/videos.js'import { logger, loggerTagsFactory } from '../../helpers/logger.js'import { CONFIG } from '../../initializers/config.js'-import { ACTIVITY_PUB, API_VERSION, CONSTRAINTS_FIELDS, WEBSERVER } from '../../initializers/constants.js'+import { ACTIVITY_PUB, CONSTRAINTS_FIELDS, WEBSERVER } from '../../initializers/constants.js'import { sendDeleteVideo } from '../../lib/activitypub/send/index.js'import {MAccountId,@@ -2159,10 +2159,6 @@ export class VideoModel extends SequelizeModel<VideoModel> {return files}- getDescriptionAPIPath () {- return `/api/${API_VERSION}/videos/${this.uuid}/description`- }-getHLSPlaylist (): MStreamingPlaylistFilesVideo {if (!this.VideoStreamingPlaylists) return undefineddiff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex 323875e17b..627364c0dd 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -3650,28 +3650,6 @@ paths:'204':description: successful operation- '/api/v1/videos/{id}/description':- get:- summary: Get complete video description- operationId: getVideoDesc- tags:- - Video- parameters:- - $ref: '#/components/parameters/idOrUUID'- - $ref: '#/components/parameters/videoPasswordHeader'- responses:- '200':- description: successful operation- content:- application/json:- schema:- nullable: true- type: string- minLength: 3- maxLength: 10000- example: |- **[Want to help to translate this video?](https://weblate.framasoft.org/projects/what-is-peertube-video/)**\r\n\r\n**Take back the control of your videos! [#JoinPeertube](https://joinpeertube.org)**-'/api/v1/videos/{id}/views':post:summary: Notify user is watching a video