v1 -> v2
Call(Recording) Transcriptions
The method names for recordings transcriptions have changed. Call recordings are now referred to as recording transcriptions.
Get Call(Recording) Transcription
- v1
- v2
const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const recordingId = 'r-abc12345-6def-abc1-2345-6defabc12345';
const { status, data } = await recordingsApi.getCallTranscription(
BW_ACCOUNT_ID,
callId,
recordingId
);
const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const recordingId = 'r-abc12345-6def-abc1-2345-6defabc12345';
const { status, data } = await recordingsApi.getRecordingTranscription(
BW_ACCOUNT_ID,
callId,
recordingId
);
Delete Call(Recording) Transcription
- v1
- v2
const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const recordingId = 'r-abc12345-6def-abc1-2345-6defabc12345';
const { status } = await recordingsApi.deleteCallTranscription(
BW_ACCOUNT_ID,
callId,
recordingId
);
const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const recordingId = 'r-abc12345-6def-abc1-2345-6defabc12345';
const { status } = await recordingsApi.deleteRecordingTranscription(
BW_ACCOUNT_ID,
callId,
recordingId
);
Real-Time Transcriptions
Real-time transcriptions have been added to the Ruby SDK.
List Real Time Transcriptions
- v1
- v2
// Not Possible with V1.
const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const { status, data } = await transcriptionsApi.listRealTimeTranscriptions(
BW_ACCOUNT_ID,
callId
);
Get Real Time Transcription
- v1
- v2
// Not Possible with V1.
const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const transcriptionId = 't-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b';
const { status, data } = await transcriptionsApi.getRealTimeTranscription(
BW_ACCOUNT_ID,
callId,
transcriptionId
);
Delete Real Time Transcription
- v1
- v2
// Not Possible with V1.
const callId = 'c-abc12345-6defabc1-2345-6def-abc1-23456defabc1';
const transcriptionId = 't-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b';
const { status } = await transcriptionsApi.deleteRealTimeTranscription(
BW_ACCOUNT_ID,
callId,
transcriptionId
);