X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=static%2Froutes.config.php;h=1c6268aa952e2c3c303475c69eb3daa6338fcaa6;hb=91bd03a75fd403211f4fb604c3f004f6035c0c3a;hp=70d230c2a2c4f0d93926a70e9cd396e793eb04a9;hpb=7dfe517c77c3f2499b7340ace74cb623c6263824;p=friendica.git diff --git a/static/routes.config.php b/static/routes.config.php index 70d230c2a2..1c6268aa95 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -1,6 +1,6 @@ [Module\Api\Friendica\Group\Delete::class, [ R::POST]], '/group_update[.{extension:json|xml|rss|atom}]' => [Module\Api\Friendica\Group\Update::class, [ R::POST]], '/profile/show[.{extension:json|xml|rss|atom}]' => [Module\Api\Friendica\Profile\Show::class, [R::GET ]], + '/photoalbums[.{extension:json|xml|rss|atom}]' => [Module\Api\Friendica\Photoalbum\Index::class, [R::GET ]], + '/photoalbum[.{extension:json|xml|rss|atom}]' => [Module\Api\Friendica\Photoalbum\Show::class, [R::GET ]], '/photoalbum/delete[.{extension:json|xml|rss|atom}]' => [Module\Api\Friendica\Photoalbum\Delete::class, [ R::POST]], '/photoalbum/update[.{extension:json|xml|rss|atom}]' => [Module\Api\Friendica\Photoalbum\Update::class, [ R::POST]], '/photos/list[.{extension:json|xml|rss|atom}]' => [Module\Api\Friendica\Photo\Lists::class, [R::GET ]], @@ -552,6 +554,7 @@ return [ '/permission/tooltip/{type}/{id:\d+}' => [Module\PermissionTooltip::class, [R::GET]], '/photo' => [ + '/{size:thumb_small|scaled_full}_{name}' => [Module\Photo::class, [R::GET]], '/{name}' => [Module\Photo::class, [R::GET]], '/{type}/{id:\d+}' => [Module\Photo::class, [R::GET]], '/{type:contact|header}/{guid}' => [Module\Photo::class, [R::GET]],