aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-05-07 16:08:10 +0200
committerGitHub <noreply@github.com>2017-05-07 16:08:10 +0200
commita4af59f47103a3f9c903eeddb1e30ab9cb7344f0 (patch)
tree3585b6c24c808e75eec93978682bba1a051f7817 /index.php
parentb8fcb7d4403a344158ab5d2c8979bdd002e6001d (diff)
parent61d406933e7311a3eb3c0379f1dea8b790459722 (diff)
downloadShaarli-a4af59f47103a3f9c903eeddb1e30ab9cb7344f0.tar.gz
Shaarli-a4af59f47103a3f9c903eeddb1e30ab9cb7344f0.tar.zst
Shaarli-a4af59f47103a3f9c903eeddb1e30ab9cb7344f0.zip
Merge pull request #857 from ArthurHoaro/api/history-get
API: Get History endpoint
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 02fe2577..cddc9eeb 100644
--- a/index.php
+++ b/index.php
@@ -2253,6 +2253,7 @@ $app->group('/api/v1', function() {
2253 $this->post('/links', '\Shaarli\Api\Controllers\Links:postLink')->setName('postLink'); 2253 $this->post('/links', '\Shaarli\Api\Controllers\Links:postLink')->setName('postLink');
2254 $this->put('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:putLink')->setName('putLink'); 2254 $this->put('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:putLink')->setName('putLink');
2255 $this->delete('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:deleteLink')->setName('deleteLink'); 2255 $this->delete('/links/{id:[\d]+}', '\Shaarli\Api\Controllers\Links:deleteLink')->setName('deleteLink');
2256 $this->get('/history', '\Shaarli\Api\Controllers\History:getHistory')->setName('getHistory');
2256})->add('\Shaarli\Api\ApiMiddleware'); 2257})->add('\Shaarli\Api\ApiMiddleware');
2257 2258
2258$response = $app->run(true); 2259$response = $app->run(true);