* get all shares for a panorama * * @param $item_source * @return DataResponse * @throws Exception */
($item_source)
| 90 | * @throws Exception |
| 91 | */ |
| 92 | #[NoAdminRequired] |
| 93 | public function readPanorama($item_source) { |
| 94 | if ($this->PanoramaService->isOwn($item_source)) { |
| 95 | return new DataResponse($this->ShareService->read(ShareService::SHARE_ITEM_TYPE_PANORAMA, $item_source)); |
| 96 | } else { |
| 97 | return new DataResponse(false); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * update/set share password |