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.5 KiB
1.5 KiB
description, i18n_source_hash, i18n_provenance, i18n_output_hash
| description | i18n_source_hash | i18n_provenance | i18n_output_hash |
|---|---|---|---|
| Excel, OpenDocument, CSV 형식 간 변환. | b813b1b06962 | human | 76f037815f0c |
스프레드시트 변환
Excel(XLSX), OpenDocument Spreadsheet(ODS), CSV 형식 간에 스프레드시트를 변환합니다. 다중 시트 워크북은 CSV로 변환할 때 첫 번째 시트를 내보냅니다.
API 엔드포인트
POST /api/v1/tools/files/convert-spreadsheet
Excel/ODS/CSV 파일과 JSON settings 필드가 포함된 multipart form data를 받습니다.
매개변수
| 매개변수 | 유형 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
| format | string | 예 | - | 출력 형식: xlsx, ods, csv |
요청 예시
curl -X POST http://localhost:1349/api/v1/tools/files/convert-spreadsheet \
-H "Authorization: Bearer si_your-api-key" \
-F "file=@data.xlsx" \
-F 'settings={"format": "csv"}'
응답 예시
202 Accepted을 반환합니다. /api/v1/jobs/{jobId}/progress에서 SSE를 통해 진행 상황을 추적하세요.
{
"jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"async": true
}
참고 사항
- 허용 입력 형식:
.xlsx,.xls,.ods,.csv. - 다중 시트 워크북을 CSV로 변환할 때는 첫 번째 시트만 내보내집니다.
- 수식은 계산되어 CSV 출력에서 정적 값으로 내보내집니다.
- 출력 형식은 입력 형식과 달라야 합니다.