ActivityPub-federated video streaming platform using P2P directly in your web browser
Add missing openapi
Chocobozzz87cd93970dda
diff --git a/client/src/app/+my-library/my-video-imports/my-video-imports.component.html b/client/src/app/+my-library/my-video-imports/my-video-imports.component.htmlindex 866cd1a72d..92a4a4a525 100644--- a/client/src/app/+my-library/my-video-imports/my-video-imports.component.html+++ b/client/src/app/+my-library/my-video-imports/my-video-imports.component.html@@ -1,15 +1,17 @@-<h1>- <my-global-icon iconName="cloud-download" aria-hidden="true"></my-global-icon>- <ng-container i18n>My imports</ng-container>-</h1>--<div class="mb-4 d-flex justify-content-between">- <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter>+<h1 class="d-flex justify-content-between">+ <span>+ <my-global-icon iconName="cloud-download" aria-hidden="true"></my-global-icon>+ <ng-container i18n>My imports</ng-container>+ </span><a routerLink="/my-library/video-channel-syncs" class="button-link"><my-global-icon iconName="repeat" aria-hidden="true"></my-global-icon><ng-container i18n>My synchronizations</ng-container></a>+</h1>++<div class="mb-4 d-flex justify-content-between">+ <my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter></div><p-tablediff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yamlindex c4bc507fdc..4402de954e 100644--- a/support/doc/api/openapi.yaml+++ b/support/doc/api/openapi.yaml@@ -1201,6 +1201,13 @@ paths:description: Filter on imports created by a specific channel synchronizationschema:type: number+ -+ name: search+ in: query+ required: false+ description: Search in video names+ schema:+ type: stringresponses:'200':description: successful operation@@ -3305,6 +3312,26 @@ paths:'204':description: successful operation+ '/video-channels/{channelHandle}/import-videos':+ post:+ summary: Import videos in channel+ description: Import a remote channel/playlist videos into a channel+ security:+ - OAuth2: []+ tags:+ - Video Channels+ - Channels Sync+ parameters:+ - $ref: '#/components/parameters/channelHandle'+ requestBody:+ content:+ application/json:+ schema:+ $ref: '#/components/schemas/ImportVideosInChannelCreate'+ responses:+ '204':+ description: successful operation+'/video-channel-syncs':post:summary: Create a synchronization for a video channel@@ -7613,6 +7640,18 @@ components:- $ref: '#/components/schemas/VideoChannel'- $ref: '#/components/schemas/Actor'+ ImportVideosInChannelCreate:+ type: object+ properties:+ externalChannelUrl:+ type: string+ example: https://youtube.com/c/UC_myfancychannel+ videoChannelSyncId:+ type: integer+ description: If part of a channel sync process, specify its id to assign video imports to this channel synchronization+ required:+ - 'externalChannelUrl'+VideoChannelSync:type: objectproperties: