Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

V2 get_transcript is asymmetrical #4

@aselder

Description

@aselder

The response type of the get_transcript call in the V2 API is asymmetrical.

If the :format arg is 'txt', get_transcript returns a string containing the text transcript. while if :format is anything else, a VoiceBase::Response object is returned.

Either both should return a VoiceBase::Response, the text transcript call shouldn't overload the get_transcript method, or get_transcript should return a wrapper object compatible with both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions