. * */ namespace Friendica\Module\Api\Mastodon; use Friendica\Core\System; use Friendica\Module\BaseApi; /** * @see https://docs.joinmastodon.org/methods/announcements/ */ class Announcements extends BaseApi { /** * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ protected function rawContent(array $request = []) { $this->checkAllowedScope(self::SCOPE_READ); // @todo Possibly use the message from the pageheader addon for this $this->jsonExit([]); } }