This commit is contained in:
parent
ae07fbfb33
commit
5158144c48
@ -49,7 +49,7 @@ class IngestInputSchema(ma.Schema):
|
|||||||
|
|
||||||
|
|
||||||
class EncodeInputSchema(ma.Schema):
|
class EncodeInputSchema(ma.Schema):
|
||||||
inputNeighbour = fields.UUID(required=False)
|
inputNeighbour = fields.UUID(required=False, allow_none=True)
|
||||||
outputNeighbours = fields.List(fields.UUID(), required=False)
|
outputNeighbours = fields.List(fields.UUID(), required=False)
|
||||||
bitrate = fields.Integer(required=False)
|
bitrate = fields.Integer(required=False)
|
||||||
width = fields.Integer(required=False)
|
width = fields.Integer(required=False)
|
||||||
@ -59,7 +59,7 @@ class EncodeInputSchema(ma.Schema):
|
|||||||
|
|
||||||
|
|
||||||
class RestreamInputSchema(ma.Schema):
|
class RestreamInputSchema(ma.Schema):
|
||||||
inputNeighbour = fields.UUID(required=False)
|
inputNeighbour = fields.UUID(required=False, allow_none=True)
|
||||||
outputURLs = fields.List(fields.String(), required=False)
|
outputURLs = fields.List(fields.String(), required=False)
|
||||||
x = fields.Integer(required=True)
|
x = fields.Integer(required=True)
|
||||||
y = fields.Integer(required=True)
|
y = fields.Integer(required=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user