Assets

Upload a guest-facing image (or design PDF) to the public asset prefix and record it. Returns the asset with its stable public_url to embed.

post/api/v1/assets/properties/{property_id}

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/assets/properties/{property_id}
  • Auth: none declared

Path parameters

property_idstring uuid required

Request body multipart/form-data

filestring binary required
alt_textstring nullable
content_page_idstring uuid nullable

Response

Successful Response

idstring uuid required
property_idstring uuid required
kind'IMAGE' | 'DESIGN_PDF' | 'PANORAMA' required
source'UPLOAD' | 'WEBSITE' | 'PMS' required

Where an asset's bytes came from — set once, at creation.

"Knowledge Center" is not a source: it stays derived from content_page_id (where the asset is used, not where it came from).

s3_keystring required
public_urlstring nullable required
content_typestring required
filenamestring required
file_sizeinteger nullable required
alt_textstring nullable required
source_urlstring nullable required
source_removed_atstring date-time nullable required
tagsstring[] required
content_page_idstring uuid nullable required
display_orderinteger required
in_galleryboolean required
room_type_idsstring[]

Changes

    • warning

      added the new PANORAMA enum value to the response property for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status