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