/
checkAudioFileIntegrity

checkAudioFileIntegrity

Verify if audio file is consistent with the saved hash

HTTP GET /ctreplay/:domain?/checkAudioFileIntegrity/:id

Path Variables:

Name

Mandatory

Type

Description

Name

Mandatory

Type

Description

domain

NO

STRING

Unique domain identifier

id

yes

string

Recording ID

Authorization: BEARER

Response:

Type: JSONp

Name

Type

Description

Name

Type

Description

result

boolean

If true, the service response was performed correctly

error

null / string

Contains the error description if an error has occurred in the request

integrityCheck

boolean

true if the audio file has passed the integrity check, false otherwise

Example:

Request

http://<hostname>:<port>/ctreplay/default/checkAudioFileIntegrity/603d06bcbd7548337474d669

Response

{ "result": true, "integrityCheck": true, "error": null }

Â