]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
REST API structure using Slim framework 666/head
authorArthurHoaro <arthur@hoa.ro>
Thu, 15 Dec 2016 09:13:00 +0000 (10:13 +0100)
committerArthurHoaro <arthur@hoa.ro>
Thu, 15 Dec 2016 09:36:00 +0000 (10:36 +0100)
commit18e6796726d73d7dc90ecdd16c181493941f5487
tree17159284be5072b505eead31efdc064b6d5a35d0
parent423ab02846286f94276d21e38ca1e296646618bf
REST API structure using Slim framework

  * REST API routes are handle by Slim.
  * Every API controller go through ApiMiddleware which handles security.
  * First service implemented `/info`, for tests purpose.
18 files changed:
.htaccess [new file with mode: 0644]
CHANGELOG.md
application/api/ApiMiddleware.php [new file with mode: 0644]
application/api/ApiUtils.php [new file with mode: 0644]
application/api/controllers/ApiController.php [new file with mode: 0644]
application/api/controllers/Info.php [new file with mode: 0644]
application/api/exceptions/ApiAuthorizationException.php [new file with mode: 0644]
application/api/exceptions/ApiBadParametersException.php [new file with mode: 0644]
application/api/exceptions/ApiException.php [new file with mode: 0644]
application/api/exceptions/ApiInternalException.php [new file with mode: 0644]
application/config/ConfigManager.php
composer.json
index.php
tests/api/ApiMiddlewareTest.php [new file with mode: 0644]
tests/api/ApiUtilsTest.php [new file with mode: 0644]
tests/api/controllers/InfoTest.php [new file with mode: 0644]
tpl/configure.html
tpl/install.html