Content Management
Import Document
Changed onIngest an uploaded document (PDF/Word/text) into structured DRAFT pages.
Reuses the existing extractor pipeline for file->text, then an LLM structures it into machine-owned DRAFT pages the hotelier reviews and publishes. Nothing is published here — the human publish step stays the gate.
post/api/v1/content/properties/{property_id}/import-document
Request
- Base URL: https://api.getanana.com (the document declares no server; this is the origin it was published from)
- URL: https://api.getanana.com/api/v1/content/properties/{property_id}/import-document
- Auth: none declared
Path parameters
property_idstring uuid required
Query parameters
content_type'general' | 'dining'
Request body multipart/form-data
Response
Successful Response
Changes
- breaking
the
request property contentMediaType changed fromtoapplication/octet-stream - info
the
request property format was generalized frombinaryto no format - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking