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

    integer

    format : int64

  • id

    integer

    The unique ID of the call recording.

    minLength: 64

    maxLength: 64

  • fileid

    string

    File ID

    minLength: 64

    maxLength: 64

  • 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

    minLength: 64

    maxLength: 64

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

    enum : ['READED', 'UNREADED']

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.

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

    array

    Show child attributes
  • page

    integer

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

    minimum: 1

  • page-size

    integer

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

    minimum: 1

Sample Response

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