Content Management

Import Document

Changed on

Ingest 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

filestring binary required

Response

Successful Response

importedstring[]
skipped_manual_pagesstring[]
overwritten_human_editsstring[]
removed_stale_pagesstring[]
retained_edited_pagesstring[]

Changes

    • breaking

      the request property contentMediaType changed from to application/octet-stream

    • info

      the request property format was generalized from binary to no format

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status