I am trying to call the api and write the following function in react and using redux
export function fetchRecordingJson(file_name) {
return (dispatch