mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Add Mastodon Instance V2 API endpoint /api/v2/instance
This commit is contained in:
parent
8101739edd
commit
0451f2dfa1
12 changed files with 564 additions and 1 deletions
|
@ -307,7 +307,7 @@ return [
|
|||
'/trends/tags' => [Module\Api\Mastodon\Trends\Tags::class, [R::GET ]],
|
||||
],
|
||||
'/v2' => [
|
||||
'/instance' => [Module\Api\Mastodon\Unimplemented::class, [R::GET ]], // not supported
|
||||
'/instance' => [Module\Api\Mastodon\InstanceV2::class, [R::GET ]], // not supported
|
||||
],
|
||||
'/v{version:\d+}' => [
|
||||
'/admin/accounts' => [Module\Api\Mastodon\Unimplemented::class, [R::GET ]], // not supported
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue