API: Translate
An asynchronous API that translates the results of Process Episode into a specified language. Translation can only be performed on Episodes that have been successfully processed.
Currently supported target languages: Simplified Chinese, Traditional Chinese, English, Japanese, and Korean.
Endpoint
POSThttps://podwise.ai/api/ent/v1/episodes/translate
Request Body
type RequestBody = {
// A unique ID provided by the caller that is guaranteed to be unique on their side
uuid: string,
language: "TC" | "SC" | "EN" | "JP" | "KR",
}
Response
type Response = {
// Returns true if successfully queued for processing, already processing, or already processed. Returns false if queueing failed
success: boolean,
// Only exists when success is false. See error codes below for details
errCode?: string,
// Returns true if this episode has already been processed, false otherwise
done: boolean,
}