mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
All 181 docs markdown files translated into 20 languages (apps/docs/<locale>/**). Companion to the i18n code PR; admin-merged because the file count exceeds GitHub's per-PR CI trigger limit. Validated by pnpm i18n:check (all surfaces, 0 stale/missing) and a clean all-locale docs build.
2.0 KiB
2.0 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| Word, Markdown, HTML, या सादा टेक्स्ट फ़ाइलों को EPUB में बदलें। | 63e1afa91c52 | human | cca6afef565a |
Convert to EPUB
Word दस्तावेज़, Markdown, HTML, या सादा टेक्स्ट फ़ाइलों को EPUB ई-बुक प्रारूप में बदलें।
API Endpoint
POST /api/v1/tools/files/to-epub
एक Word/Markdown/HTML/TXT फ़ाइल के साथ multipart form data स्वीकार करता है।
Parameters
इस टूल में कोई कॉन्फ़िगर करने योग्य पैरामीटर नहीं है। एक दस्तावेज़ अपलोड करें और इसे EPUB में बदल दिया जाएगा।
Example Request
curl -X POST http://localhost:1349/api/v1/tools/files/to-epub \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@manuscript.docx"
Example Response
202 Accepted लौटाता है। /api/v1/jobs/{jobId}/progress पर SSE के ज़रिए प्रगति ट्रैक करें।
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"async": true
}
Notes
- स्वीकृत इनपुट प्रारूप:
.docx,.md,.html,.txt। - EPUB आउटपुट EPUB 3 विनिर्देश का पालन करता है।
- स्रोत दस्तावेज़ के शीर्षकों का उपयोग सामग्री तालिका बनाने के लिए किया जाता है।
- रूपांतरण सर्वर पर Pandoc द्वारा संभाला जाता है।