mirror of
https://github.com/friendica/friendica
synced 2024-11-11 19:42:54 +00:00
cb7875b035
- Retrieve public contact in Api\Mastodon\FollowRequests instead of user contact
22 lines
481 B
PHP
22 lines
481 B
PHP
<?php
|
|
|
|
namespace Friendica\Module\Api\Mastodon;
|
|
|
|
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 \Friendica\Network\HTTPException\InternalServerErrorException
|
|
*/
|
|
public static function rawContent(array $parameters = [])
|
|
{
|
|
System::jsonExit(InstanceEntity::get());
|
|
}
|
|
}
|