Retrieve a call recording.
GET
/show
Retrieve a call recording.
Path parameters
-
id
integer
required
The call recording ID.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call-recording/show \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
metadata_id
integer
-
id
integer
The unique ID of the call recording. -
fileid
string
File ID -
duration
integer
The duration that the recording lasted, in seconds. -
start_time
string
Start time for recording. Date-time string in ISO 8601 format (e.g. 2017-01-01T00:00:00.00Z) -
filename
string
File name -
end_time
string
Time on which the recording is ended. Date-time string in ISO 8601 format (e.g. 2017-01-01T00:00:00.00Z). -
status
string
Status for this recording.
Sample Response
{}
Retrieve a collection of call recordings.
GET
/list
Retrieve a collection of call recordings.
Path parameters
-
page
integer
required
Pagination for browse. By default, page always starts at 1. -
page-size
integer
required
响应所能包含的最大行, 默认值为 100, 最大值为 10000.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/call-recording/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
recordings
array
-
page
integer
Pagination for browse. By default, page always starts at 1. -
page-size
integer
响应所能包含的最大行, 默认值为 100, 最大值为 10000.
Sample Response
{
"page": 1,
"page-size": 1
}