Add missing openapi

pull/5190/head
Chocobozzz 2022-08-10 14:56:53 +02:00
parent 40e9937247
commit 87cd93970d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 48 additions and 7 deletions

View File

@ -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-table

View File

@ -1201,6 +1201,13 @@ paths:
description: Filter on imports created by a specific channel synchronization
schema:
type: number
-
name: search
in: query
required: false
description: Search in video names
schema:
type: string
responses:
'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: object
properties: