mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
API: We now can upload photos
This commit is contained in:
parent
3dcd91cddd
commit
14c1f7167a
4 changed files with 201 additions and 4 deletions
|
@ -112,7 +112,7 @@ return [
|
|||
'/lists/{id:\d+}' => [Module\Api\Mastodon\Lists::class, [R::GET, R::PUT, R::DELETE]],
|
||||
'/lists/{id:\d+}/accounts' => [Module\Api\Mastodon\Lists\Accounts::class, [R::GET, R::POST, R::DELETE]],
|
||||
'/markers' => [Module\Api\Mastodon\Markers::class, [R::GET, R::POST]], // Dummy, not supported
|
||||
'/media' => [Module\Api\Mastodon\Unimplemented::class, [ R::POST]], // @todo
|
||||
'/media' => [Module\Api\Mastodon\Media::class, [ R::POST]],
|
||||
'/media/{id:\d+}' => [Module\Api\Mastodon\Media::class, [R::GET, R::PUT ]],
|
||||
'/mutes' => [Module\Api\Mastodon\Mutes::class, [R::GET ]],
|
||||
'/notifications' => [Module\Api\Mastodon\Notifications::class, [R::GET ]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue