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.

    minimum: 1

  • page-size

    integer

    required

    响应所能包含的最大行, 默认值为 100, 最大值为 10000.

    minimum: 1

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
  • page

    integer

    Pagination for browse. By default, page always starts at 1.
  • recordings

    array

    Show child attributes
  • page-size

    integer

    响应所能包含的最大行, 默认值为 100, 最大值为 10000.

Sample Response

                      
{
    "page": 1,
    "page-size": 1
}
                      
                    

Retrieve a call recording.

GET /show
Retrieve a call recording.
Path parameters
  • id

    integer

    required

    The call recording ID.

    minLength: 64

    maxLength: 64

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
  • fileid

    string

    File ID
  • filename

    string

    File name
  • metadata_id

    integer

  • status

    string

    Status for this recording.
  • id

    integer

    The unique ID of the call recording.
  • 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).
  • start_time

    string

    Start time for recording. Date-time string in ISO 8601 format (e.g. 2017-01-01T00:00:00.00Z)
  • duration

    integer

    The duration that the recording lasted, in seconds.

Sample Response

                      
{}