. * */ namespace Friendica\Module\Api\Mastodon; use Friendica\App\Router; use Friendica\Core\System; use Friendica\DI; use Friendica\Module\BaseApi; /** * @see https://docs.joinmastodon.org/methods/timelines/markers/ */ class Markers extends BaseApi { public function post() { self::checkAllowedScope(self::SCOPE_WRITE); DI::apiResponse()->unsupported(Router::POST); } /** * @throws \Friendica\Network\HTTPException\InternalServerErrorException */ public function rawContent() { self::checkAllowedScope(self::SCOPE_READ); System::jsonExit([]); } }