diff options
Diffstat (limited to 'support/doc/api')
-rw-r--r-- | support/doc/api/openapi.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index c4bc507fd..4402de954 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -1201,6 +1201,13 @@ paths: | |||
1201 | description: Filter on imports created by a specific channel synchronization | 1201 | description: Filter on imports created by a specific channel synchronization |
1202 | schema: | 1202 | schema: |
1203 | type: number | 1203 | type: number |
1204 | - | ||
1205 | name: search | ||
1206 | in: query | ||
1207 | required: false | ||
1208 | description: Search in video names | ||
1209 | schema: | ||
1210 | type: string | ||
1204 | responses: | 1211 | responses: |
1205 | '200': | 1212 | '200': |
1206 | description: successful operation | 1213 | description: successful operation |
@@ -3305,6 +3312,26 @@ paths: | |||
3305 | '204': | 3312 | '204': |
3306 | description: successful operation | 3313 | description: successful operation |
3307 | 3314 | ||
3315 | '/video-channels/{channelHandle}/import-videos': | ||
3316 | post: | ||
3317 | summary: Import videos in channel | ||
3318 | description: Import a remote channel/playlist videos into a channel | ||
3319 | security: | ||
3320 | - OAuth2: [] | ||
3321 | tags: | ||
3322 | - Video Channels | ||
3323 | - Channels Sync | ||
3324 | parameters: | ||
3325 | - $ref: '#/components/parameters/channelHandle' | ||
3326 | requestBody: | ||
3327 | content: | ||
3328 | application/json: | ||
3329 | schema: | ||
3330 | $ref: '#/components/schemas/ImportVideosInChannelCreate' | ||
3331 | responses: | ||
3332 | '204': | ||
3333 | description: successful operation | ||
3334 | |||
3308 | '/video-channel-syncs': | 3335 | '/video-channel-syncs': |
3309 | post: | 3336 | post: |
3310 | summary: Create a synchronization for a video channel | 3337 | summary: Create a synchronization for a video channel |
@@ -7613,6 +7640,18 @@ components: | |||
7613 | - $ref: '#/components/schemas/VideoChannel' | 7640 | - $ref: '#/components/schemas/VideoChannel' |
7614 | - $ref: '#/components/schemas/Actor' | 7641 | - $ref: '#/components/schemas/Actor' |
7615 | 7642 | ||
7643 | ImportVideosInChannelCreate: | ||
7644 | type: object | ||
7645 | properties: | ||
7646 | externalChannelUrl: | ||
7647 | type: string | ||
7648 | example: https://youtube.com/c/UC_myfancychannel | ||
7649 | videoChannelSyncId: | ||
7650 | type: integer | ||
7651 | description: If part of a channel sync process, specify its id to assign video imports to this channel synchronization | ||
7652 | required: | ||
7653 | - 'externalChannelUrl' | ||
7654 | |||
7616 | VideoChannelSync: | 7655 | VideoChannelSync: |
7617 | type: object | 7656 | type: object |
7618 | properties: | 7657 | properties: |