public interface AskFastRestService
| Modifier and Type | Method and Description |
|---|---|
retrofit.client.Response |
buyAdapter(String adapterId) |
Dialog |
createDialog(Dialog dialog) |
TTSUser |
createTTSAccount(TTSUser ttsUser) |
void |
deleteTTSAccount(String ttsAccountId) |
Set<Adapter> |
getAdapters(String type) |
List<DDRRecord> |
getDDRRecords(String delimitedAdapterIds,
String delimitedAdapterTypes,
String fromAddress,
String typeId,
String status,
Long startTime,
Long endTime,
String delimitedSessionKeys,
Integer offset,
Integer limit,
Boolean shouldGenerateCosts,
Boolean shouldIncludeServiceCosts) |
Dialog |
getDialog(String dialogId) |
Set<Dialog> |
getDialogs() |
Set<Adapter> |
getFreeAdapters(String adapterType,
String address) |
List<Recording> |
getRecordings(String accountId) |
TTSUser |
getTTSAccount(String ttsAccountId) |
List<TTSUser> |
getTTSAccounts() |
retrofit.client.Response |
removeAdapter(String adapterId) |
retrofit.client.Response |
removeDialog(String dialogId) |
Result |
startDialog(DialogRequest req) |
Adapter |
updateAdapter(String adapterId,
Adapter adapter) |
Dialog |
updateDialog(String dialogId,
Dialog dialog) |
TTSUser |
updateTTSAccount(String ttsAccountId,
TTSUser ttsUser) |
@POST(value="/startDialog") Result startDialog(@Body DialogRequest req)
@POST(value="/adapter/{adapterId}")
retrofit.client.Response buyAdapter(@Path(value="adapterId")
String adapterId)
@PUT(value="/adapter/{adapterId}")
Adapter updateAdapter(@Path(value="adapterId")
String adapterId,
@Body
Adapter adapter)
@GET(value="/free_adapters") Set<Adapter> getFreeAdapters(@Query(value="adapterType") String adapterType, @Query(value="address") String address)
@DELETE(value="/adapter/{adapterId}")
retrofit.client.Response removeAdapter(@Path(value="adapterId")
String adapterId)
@GET(value="/dialog/{dialogId}")
Dialog getDialog(@Path(value="dialogId")
String dialogId)
@PUT(value="/dialog/{dialogId}")
Dialog updateDialog(@Path(value="dialogId")
String dialogId,
@Body
Dialog dialog)
@DELETE(value="/dialog/{dialogId}")
retrofit.client.Response removeDialog(@Path(value="dialogId")
String dialogId)
@GET(value="/tts/{ttsAccountId}")
TTSUser getTTSAccount(@Path(value="ttsAccountId")
String ttsAccountId)
@PUT(value="/tts/{ttsAccountId}")
TTSUser updateTTSAccount(@Path(value="ttsAccountId")
String ttsAccountId,
@Body
TTSUser ttsUser)
@DELETE(value="/tts/{ttsAccountId}")
void deleteTTSAccount(@Path(value="ttsAccountId")
String ttsAccountId)
@GET(value="/account/{accountId}/recording")
List<Recording> getRecordings(@Path(value="accountId")
String accountId)
@GET(value="/ddr") List<DDRRecord> getDDRRecords(@Query(value="adapterIds") String delimitedAdapterIds, @Query(value="adapterTypes") String delimitedAdapterTypes, @Query(value="fromAddress") String fromAddress, @Query(value="typeId") String typeId, @Query(value="status") String status, @Query(value="startTime") Long startTime, @Query(value="endTime") Long endTime, @Query(value="sessionKeys") String delimitedSessionKeys, @Query(value="offset") Integer offset, @Query(value="limit") Integer limit, @Query(value="shouldGenerateCosts") Boolean shouldGenerateCosts, @Query(value="shouldIncludeServiceCosts") Boolean shouldIncludeServiceCosts)
Copyright © 2015 AskFast BV. All rights reserved.