mirror of https://github.com/Chocobozzz/PeerTube
Add missing openapi
parent
40e9937247
commit
87cd93970d
|
@ -1,15 +1,17 @@
|
||||||
<h1>
|
<h1 class="d-flex justify-content-between">
|
||||||
<my-global-icon iconName="cloud-download" aria-hidden="true"></my-global-icon>
|
<span>
|
||||||
<ng-container i18n>My imports</ng-container>
|
<my-global-icon iconName="cloud-download" aria-hidden="true"></my-global-icon>
|
||||||
</h1>
|
<ng-container i18n>My imports</ng-container>
|
||||||
|
</span>
|
||||||
<div class="mb-4 d-flex justify-content-between">
|
|
||||||
<my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter>
|
|
||||||
|
|
||||||
<a routerLink="/my-library/video-channel-syncs" class="button-link">
|
<a routerLink="/my-library/video-channel-syncs" class="button-link">
|
||||||
<my-global-icon iconName="repeat" aria-hidden="true"></my-global-icon>
|
<my-global-icon iconName="repeat" aria-hidden="true"></my-global-icon>
|
||||||
<ng-container i18n>My synchronizations</ng-container>
|
<ng-container i18n>My synchronizations</ng-container>
|
||||||
</a>
|
</a>
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
<div class="mb-4 d-flex justify-content-between">
|
||||||
|
<my-advanced-input-filter (search)="onSearch($event)"></my-advanced-input-filter>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p-table
|
<p-table
|
||||||
|
|
|
@ -1201,6 +1201,13 @@ paths:
|
||||||
description: Filter on imports created by a specific channel synchronization
|
description: Filter on imports created by a specific channel synchronization
|
||||||
schema:
|
schema:
|
||||||
type: number
|
type: number
|
||||||
|
-
|
||||||
|
name: search
|
||||||
|
in: query
|
||||||
|
required: false
|
||||||
|
description: Search in video names
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: successful operation
|
description: successful operation
|
||||||
|
@ -3305,6 +3312,26 @@ paths:
|
||||||
'204':
|
'204':
|
||||||
description: successful operation
|
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':
|
'/video-channel-syncs':
|
||||||
post:
|
post:
|
||||||
summary: Create a synchronization for a video channel
|
summary: Create a synchronization for a video channel
|
||||||
|
@ -7613,6 +7640,18 @@ components:
|
||||||
- $ref: '#/components/schemas/VideoChannel'
|
- $ref: '#/components/schemas/VideoChannel'
|
||||||
- $ref: '#/components/schemas/Actor'
|
- $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:
|
VideoChannelSync:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in New Issue