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.
1.4 KiB
1.4 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 | aa0fde2c528f |
Convert to EPUB
Word ドキュメント、Markdown、HTML、またはプレーンテキストファイルを EPUB 電子書籍形式に変換します。
API Endpoint
POST /api/v1/tools/files/to-epub
Word/Markdown/HTML/TXT ファイルを含むマルチパートフォームデータを受け付けます。
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 によって処理されます。