diff --git a/backend.yml b/backend.yml index 7ed1f95..c0f7735 100644 --- a/backend.yml +++ b/backend.yml @@ -394,7 +394,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RestreamObjectParameters' + $ref: '#/components/schemas/EncodeObjectParameters' required: true parameters: - name: id @@ -410,7 +410,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/EncodeObjectParameters' + $ref: '#/components/schemas/StreamerObjectData' 404: description: ID not found content: @@ -454,8 +454,12 @@ components: items: type: string format: url - ffmpeg_args: - type: string + bitrate: + type: integer + width: + type: integer + height: + type: integer IngestObjectNeighbors: required: - outputNeighbours @@ -493,7 +497,9 @@ components: required: - inputNeighbours - outputNeighbours - - ffmpeg_args + - bitrate + - width + - height type: object properties: inputNeighbours: @@ -506,8 +512,12 @@ components: items: type: string format: uuid - ffmpeg_args: - type: string + bitrate: + type: integer + width: + type: integer + height: + type: integer StreamerObjectArray: type: array items: