From 7e9343522bd4208d9f14cea2af3f6b7873ab84e3 Mon Sep 17 00:00:00 2001 From: Andreas Hubel Date: Sun, 26 Nov 2017 00:19:28 +0100 Subject: API: add additonal information, implements #18 --- view/streams-json-v2.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/streams-json-v2.php b/view/streams-json-v2.php index bc22868..114e73e 100644 --- a/view/streams-json-v2.php +++ b/view/streams-json-v2.php @@ -90,6 +90,7 @@ foreach (Conferences::getActiveConferences() as $conference) 'thumb' => forceslash(baseurl()).$room->getThumb(), 'link' => forceslash(baseurl()).$room->getLink(), 'display' => $room->getDisplay(), + 'stream' => $room->getStream(), 'streams' => $streams, ); } @@ -105,6 +106,7 @@ foreach (Conferences::getActiveConferences() as $conference) 'author' => $conference->getAuthor(), 'description' => $conference->getDescription(), 'keywords' => $conference->getKeywords(), + 'schedule' => $conference->getSchedule()->getScheduleUrl(), 'startsAt' => $conference->startsAt() ? $conference->startsAt()->format(DateTime::ISO8601) : null, 'endsAt' => $conference->endsAt() ? $conference->endsAt()->format(DateTime::ISO8601) : null, 'groups' => $groupstruct, -- cgit v1.2.3