diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2237,6 +2237,7 @@ $app = new \Slim\App($container); | |||
2237 | // REST API routes | 2237 | // REST API routes |
2238 | $app->group('/api/v1', function() { | 2238 | $app->group('/api/v1', function() { |
2239 | $this->get('/info', '\Shaarli\Api\Controllers\Info:getInfo'); | 2239 | $this->get('/info', '\Shaarli\Api\Controllers\Info:getInfo'); |
2240 | $this->get('/links', '\Shaarli\Api\Controllers\Links:getLinks'); | ||
2240 | })->add('\Shaarli\Api\ApiMiddleware'); | 2241 | })->add('\Shaarli\Api\ApiMiddleware'); |
2241 | 2242 | ||
2242 | $response = $app->run(true); | 2243 | $response = $app->run(true); |