สารบัญเอกสาร

API ข้อมูล

สอบถามประเภทเอกสารที่รองรับ

GET/v1/filetypes

สอบถามรูปแบบไฟล์ทั้งหมดที่รองรับสำหรับการแปล

ที่อยู่แบบเต็ม
https://otranslator.com/api/v1/filetypes
การรับรอง
ไม่ต้องใช้ API Key
Content-Type
application/json
รูปแบบผิดพลาด
{ "error": "Invalid API key." }

ข้อควรระวัง

อินเทอร์เฟซนี้ส่งกลับรูปแบบการแปลเอกสารทั้งหมดที่แพลตฟอร์มปัจจุบันรองรับ รายการจะได้รับการอัปเดตตามความสามารถของบริการ

ตัวอย่าง

curl
1curl -X GET 'https://otranslator.com/api/v1/filetypes'

การตอบสนอง

พารามิเตอร์ประเภทค่าเริ่มต้นคำอธิบายตัวอย่าง
typesString[]-

ประเภทเอกสารที่รองรับ

[ "doc", "docx", "rtf", "xls", "xlsx", "ppt", "pptx", "vsdx", "wps", "et", "dps", "pdf", "ai", "indd", "idml", "odt", "ods", "odp", "epub", "chm", "zip", "cbz", "cbr", "jpg", "jpeg", "png", "webp", "svg", "srt", "ass", "ssa", "vtt", "json", "resjson", "html", "xml", "go", "yml", "yaml", "php", "plist", "stringsdict", "wav", "ape", "mp3", "aac", "flac", "alac", "ogg", "wma", "ac3", "dts", "amr", "aiff", "m4a", "txt", "md", "po", "xlf", "xliff", "csv", "tsv", "tex", "arxiv", "zip" ]
API งานการแปล
แปลข้อความ