}, array{}>|DataResponse * * 200: Upcoming events * 401: When not authenticated */ #[NoAdminRequired] public function getEvents(?string $location = null): DataResponse { if ($this->userId === null) { return new DataResponse(null, Http::STATUS_UNAUTHORIZED); } return new DataResponse([ 'events' => array_values(array_map(fn (UpcomingEvent $e) => $e->jsonSerialize(), $this->service->getEvents( $this->userId, $location, ))), ]); } } d-share-user-avatars Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/composer.json
blob: 72335c8d891ddc833f42bd47fc382bda71731111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15