single input neighbour allowed

This commit is contained in:
Torma Kristóf 2020-11-24 21:51:24 +01:00
parent af3bc84fac
commit 37416034cb

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,9 +479,7 @@ components:
- outputURLs
type: object
properties:
inputNeighbours:
type: array
items:
inputNeighbour:
type: string
format: uuid
outputURLs:
@ -497,14 +491,10 @@ components:
required:
- inputNeighbours
- outputNeighbours
- bitrate
- width
- height
- ffmpeg_args
type: object
properties:
inputNeighbours:
type: array
items:
inputNeighbour:
type: string
format: uuid
outputNeighbours:
@ -512,12 +502,8 @@ components:
items:
type: string
format: uuid
bitrate:
type: integer
width:
type: integer
height:
type: integer
ffmpeg_args:
type: string
StreamerObjectArray:
type: array
items: