v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Room Photos

List All Room Photos per Property

Retrieve a list of all room photo mappings for each property, including photo ID, space ID, and photo URL.

get/properties-api/room-photos/property/{propertyId}

Path parameters

propertyIdstring required

The id of the property

Response

Returns a list of all property room photo mappings, including photo ID, space ID and photo URL.

propertyIdstring

Example response

{
  "propertyId": "645774fe76e5da340bf915e7",
  "roomPhotos": [
    {
      "_id": "5d9e9f4a6d5b2e0017b6d5b2",
      "spaceId": "545774fe76e5da340bf915e8",
      "photoUrl": "https://image.com",
      "photoId": "145774fe76e5da340bf915e2",
      "accountId": "345774fe76e5da340bf915e3"
    }
  ]
}