This page was machine-translated. Spotted a mistake?Help improve it.
Skip to content

Convert Presentation

Konversi presentasi antar format PowerPoint (PPTX) dan OpenDocument Presentation (ODP).

API Endpoint

POST /api/v1/tools/files/convert-presentation

Menerima multipart form data berisi file PowerPoint/ODP dan field JSON settings.

Parameters

ParameterTypeRequiredDefaultDescription
formatstringYes-Format output: pptx, odp

Example Request

bash
curl -X POST http://localhost:1349/api/v1/tools/files/convert-presentation \
  -H "Authorization: Bearer si_your-api-key" \
  -F "[email protected]" \
  -F 'settings={"format": "odp"}'

Example Response

Mengembalikan 202 Accepted. Lacak progres melalui SSE di /api/v1/jobs/{jobId}/progress.

json
{
  "jobId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "async": true
}

Notes

  • Format input yang diterima: .pptx, .ppt, .odp.
  • Konversi ditangani oleh LibreOffice yang berjalan headless di server.
  • Efek animasi dan transisi mungkin tidak dipertahankan antar format.
  • Format output harus berbeda dari format input.