aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index d6642b68..6eaa56c2 100644
--- a/index.php
+++ b/index.php
@@ -2247,6 +2247,7 @@ $app->group('/api/v1', function() {
2247 $this->get('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:getLink')->setName('getLink'); 2247 $this->get('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:getLink')->setName('getLink');
2248 $this->post('/links', '\Shaarli\Api\Controllers\Links:postLink')->setName('postLink'); 2248 $this->post('/links', '\Shaarli\Api\Controllers\Links:postLink')->setName('postLink');
2249 $this->put('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:putLink')->setName('putLink'); 2249 $this->put('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:putLink')->setName('putLink');
2250 $this->delete('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:deleteLink')->setName('deleteLink');
2250})->add('\Shaarli\Api\ApiMiddleware'); 2251})->add('\Shaarli\Api\ApiMiddleware');
2251 2252
2252$response = $app->run(true); 2253$response = $app->run(true);