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.2 KiB
1.2 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| 將表單與註解烘焙進頁面內容。 | b25c2a2b6f40 | human | c7afc6f555da |
平面化 PDF
將互動式表單欄位與註解烘焙進頁面內容,產生一份在任何地方看起來都相同的靜態 PDF。
API 端點
POST /api/v1/tools/pdf/flatten-pdf
接受包含 PDF 檔案的 multipart 表單資料。
參數
此工具沒有可設定的參數。上傳 PDF 後,所有表單與註解都會被平面化。
範例請求
curl -X POST http://localhost:1349/api/v1/tools/pdf/flatten-pdf \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@form.pdf"
範例回應
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"downloadUrl": "/api/v1/download/a1b2c3d4-e5f6-7890-abcd-ef1234567890/form.pdf",
"originalSize": 185000,
"processedSize": 172000
}
注意事項
- 接受的輸入格式:
.pdf。 - 這是一個快速(同步)工具,會直接回傳結果。
- 表單欄位的值會以靜態文字的形式保留在輸出中。
- 註解(評論、螢光標記、便利貼)會成為頁面內容的一部分,無法再進行編輯。