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.7 KiB
1.7 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| PDF의 모든 페이지에 페이지 번호를 추가합니다. | 58342d6ac8d2 | human | c049ab379e54 |
PDF Page Numbers
PDF의 모든 페이지에 "Page N of M" 페이지 번호를 추가합니다.
API Endpoint
POST /api/v1/tools/pdf/pdf-page-numbers
PDF 파일과 JSON settings 필드가 포함된 multipart form data를 받습니다.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| position | string | No | "bc" |
페이지 번호 위치: bl, bc, br, tl, tc, tr |
| fontSize | integer | No | 10 |
글꼴 크기(포인트, 6-24) |
Position Values
tl왼쪽 위,tc가운데 위,tr오른쪽 위bl왼쪽 아래,bc가운데 아래,br오른쪽 아래
Example Request
curl -X POST http://localhost:1349/api/v1/tools/pdf/pdf-page-numbers \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@document.pdf" \
-F 'settings={"position": "bc", "fontSize": 12}'
Example Response
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"downloadUrl": "/api/v1/download/a1b2c3d4-e5f6-7890-abcd-ef1234567890/document.pdf",
"originalSize": 2450000,
"processedSize": 2470000
}
Notes
- 페이지 번호는 "Page 1 of 10" 형식으로 렌더링됩니다.
- 기존의 제목 페이지나 표지 페이지를 포함해 모든 페이지에 번호가 추가됩니다.
- 기본 위치
"bc"은(는) 각 페이지의 가운데 아래에 번호를 배치합니다.