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