diff --git a/backend.yml b/backend.yml index c0f7735..3e9bb45 100644 --- a/backend.yml +++ b/backend.yml @@ -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: