friendica_2021.01_tupambae_.../src/Module/Api/Mastodon/Instance.php

23 lines
476 B
PHP
Raw Normal View History

<?php
namespace Friendica\Module\Api\Mastodon;
2019-12-11 07:51:59 +01:00
use Friendica\Api\Mastodon\Instance as InstanceEntity;
use Friendica\Core\System;
use Friendica\Module\Base\Api;
/**
* @see https://docs.joinmastodon.org/api/rest/instances/
*/
class Instance extends Api
{
/**
* @param array $parameters
* @throws HTTPException\InternalServerErrorException
*/
public static function rawContent(array $parameters = [])
{
2019-12-11 07:51:59 +01:00
System::jsonExit(InstanceEntity::get(self::getApp()));
}
}