diff options
Diffstat (limited to 'rest-api/api-docs')
-rw-r--r-- | rest-api/api-docs/channels.json | 19 | ||||
-rw-r--r-- | rest-api/api-docs/playback.json | 25 |
2 files changed, 37 insertions, 7 deletions
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json index 3b4d4d486..cb0332414 100644 --- a/rest-api/api-docs/channels.json +++ b/rest-api/api-docs/channels.json @@ -408,11 +408,28 @@ }, { "name": "lang", - "description": "For sounds, selects language for sound", + "description": "For sounds, selects language for sound.", "paramType": "query", "required": false, "allowMultiple": false, "dataType": "string" + }, + { + "name": "offsetms", + "description": "Number of media to skip before playing.", + "paramType": "query", + "required": false, + "allowMultiple": false, + "dataType": "int" + }, + { + "name": "skipms", + "description": "Number of milliseconds to skip for forward/reverse operations.", + "paramType": "query", + "required": false, + "allowMultiple": false, + "dataType": "int", + "defaultValue": 3000 } ], "errorResponses": [ diff --git a/rest-api/api-docs/playback.json b/rest-api/api-docs/playback.json index aa758781c..38ca5e1a7 100644 --- a/rest-api/api-docs/playback.json +++ b/rest-api/api-docs/playback.json @@ -73,16 +73,29 @@ "allowableValues": { "valueType": "LIST", "values": [ - "play", + "restart", "pause", - "rewind", - "fast-forward", - "speed-up", - "slow-down" + "unpause", + "reverse", + "forward" ] } } - ] + ], + "errorResponses": [ + { + "code": 400, + "reason": "The provided operation parameter was invalid" + }, + { + "code": 404, + "reason": "The playback cannot be found" + }, + { + "code": 409, + "reason": "The operation cannot be performed in the playback's current state" + } +] } ] } |