Assets

Set the property's gallery order. ordered_ids is the FULL sequence the operator arranged (first = hero cover); each id is reindexed to its position. The payload must list exactly the property's assets — once, each — so a reorder can never leave an omitted asset stranded at a colliding position or double-index a duplicate. Anything else is a 404, not a silent partial reorder.

put/api/v1/assets/properties/{property_id}/order

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}/order
  • Auth: none declared

Path parameters

property_idstring uuid required

Request body

ordered_idsstring[] required

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