diff options
Diffstat (limited to 'rest-api/api-docs')
-rw-r--r-- | rest-api/api-docs/recordings.json | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/rest-api/api-docs/recordings.json b/rest-api/api-docs/recordings.json index 54daa33cf..b0a65664c 100644 --- a/rest-api/api-docs/recordings.json +++ b/rest-api/api-docs/recordings.json @@ -338,7 +338,7 @@ "description": "URI for the channel or bridge being recorded" }, "state": { - "required": false, + "required": true, "type": "string", "allowableValues": { "valueType": "LIST", @@ -352,18 +352,25 @@ ] } }, + "duration": { + "required": false, + "type": "int", + "description": "Duration in seconds of the recording" + }, + "talking_duration": { + "required": false, + "type": "int", + "description": "Duration of talking, in seconds, detected in the recording. This is only available if the recording was initiated with a non-zero maxSilenceSeconds." + }, + "silence_duration": { + "required": false, + "type": "int", + "description": "Duration of silence, in seconds, detected in the recording. This is only available if the recording was initiated with a non-zero maxSilenceSeconds." + }, "cause": { "required": false, "type": "string", "description": "Cause for recording failure if failed" - }, - "state": { - "required": true, - "type": "string" - }, - "format": { - "required": true, - "type": "string" } } } |