Skip to main content

Panorama Images Repository

Follow these steps to get panorama image metadata that is within a particular room and that is set to be hidden:
  1. Run:
    const room = await api.siteModel.repository.findOne(23); // arbitrary site model
  2. Run:
    const imgFilterBuilder: ImageFilterInterface = api.image.repository.createFilterBuilder();

    const imgFilter: RestFilterInterface =;
  3. Run:
    .then((hiddenRoomImages: ImageInterface[]) => {
    // Perform actions on hidden panoramas located in a room