Package ai.rev.speechtotext
Interface CustomVocabularyApiInterface
-
public interface CustomVocabularyApiInterfaceThe CustomVocabularyApiInterface is a type-safe Retrofit interface that presents all the endpoints that are made to communicate with the Rev AI custom vocabulary API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description retrofit2.Call<Void>deleteCustomVocabulary(String jobId)retrofit2.Call<CustomVocabularyInformation>getCustomVocabularyInformation(String jobId)retrofit2.Call<List<CustomVocabularyInformation>>getListOfCustomVocabularyInformation()retrofit2.Call<CustomVocabularyInformation>submitCustomVocabularies(CustomVocabularySubmission options)
-
-
-
Method Detail
-
submitCustomVocabularies
@POST("vocabularies") retrofit2.Call<CustomVocabularyInformation> submitCustomVocabularies(@Body CustomVocabularySubmission options)
-
getListOfCustomVocabularyInformation
@GET("vocabularies") retrofit2.Call<List<CustomVocabularyInformation>> getListOfCustomVocabularyInformation()
-
getCustomVocabularyInformation
@GET("vocabularies/{id}") retrofit2.Call<CustomVocabularyInformation> getCustomVocabularyInformation(@Path("id") String jobId)
-
-