single input neighbour allowed

This commit is contained in:
Torma Kristóf 2020-11-24 21:51:24 +01:00
parent af3bc84fac
commit 37416034cb
1 changed files with 13 additions and 27 deletions

View File

@ -394,7 +394,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/EncodeObjectParameters'
$ref: '#/components/schemas/RestreamObjectParameters'
required: true
parameters:
- name: id
@ -410,7 +410,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/StreamerObjectData'
$ref: '#/components/schemas/EncodeObjectParameters'
404:
description: ID not found
content:
@ -454,12 +454,8 @@ components:
items:
type: string
format: url
bitrate:
type: integer
width:
type: integer
height:
type: integer
ffmpeg_args:
type: string
IngestObjectNeighbors:
required:
- outputNeighbours
@ -483,11 +479,9 @@ components:
- outputURLs
type: object
properties:
inputNeighbours:
type: array
items:
type: string
format: uuid
inputNeighbour:
type: string
format: uuid
outputURLs:
type: array
items:
@ -497,27 +491,19 @@ components:
required:
- inputNeighbours
- outputNeighbours
- bitrate
- width
- height
- ffmpeg_args
type: object
properties:
inputNeighbours:
type: array
items:
type: string
format: uuid
inputNeighbour:
type: string
format: uuid
outputNeighbours:
type: array
items:
type: string
format: uuid
bitrate:
type: integer
width:
type: integer
height:
type: integer
ffmpeg_args:
type: string
StreamerObjectArray:
type: array
items: