mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
API: Support for deprecated API endpoints and OAuth removal
This commit is contained in:
parent
a556b7c029
commit
b5f59d5be0
12 changed files with 74 additions and 57 deletions
|
@ -131,6 +131,7 @@ return [
|
|||
'/scheduled_statuses/{id:\d+}' => [Module\Api\Mastodon\Unimplemented::class, [R::GET, R::PUT, R::DELETE]], // not supported
|
||||
'/statuses' => [Module\Api\Mastodon\Statuses::class, [ R::POST]],
|
||||
'/statuses/{id:\d+}' => [Module\Api\Mastodon\Statuses::class, [R::GET, R::DELETE]],
|
||||
'/statuses/{id:\d+}/card' => [Module\Api\Mastodon\Statuses\Card::class, [R::GET ]],
|
||||
'/statuses/{id:\d+}/context' => [Module\Api\Mastodon\Statuses\Context::class, [R::GET ]],
|
||||
'/statuses/{id:\d+}/reblogged_by' => [Module\Api\Mastodon\Statuses\RebloggedBy::class, [R::GET ]],
|
||||
'/statuses/{id:\d+}/favourited_by' => [Module\Api\Mastodon\Statuses\FavouritedBy::class, [R::GET ]],
|
||||
|
@ -154,7 +155,7 @@ return [
|
|||
'/timelines/tag/{hashtag}' => [Module\Api\Mastodon\Timelines\Tag::class, [R::GET ]],
|
||||
'/trends' => [Module\Api\Mastodon\Trends::class, [R::GET ]],
|
||||
],
|
||||
'/v2' => [
|
||||
'/v{version:\d+}' => [
|
||||
'/search' => [Module\Api\Mastodon\Search::class, [R::GET ]],
|
||||
],
|
||||
'/friendica' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue