diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-12-15 10:13:00 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-12-15 10:36:00 +0100 |
commit | 18e6796726d73d7dc90ecdd16c181493941f5487 (patch) | |
tree | 17159284be5072b505eead31efdc064b6d5a35d0 /tpl | |
parent | 423ab02846286f94276d21e38ca1e296646618bf (diff) | |
download | Shaarli-18e6796726d73d7dc90ecdd16c181493941f5487.tar.gz Shaarli-18e6796726d73d7dc90ecdd16c181493941f5487.tar.zst Shaarli-18e6796726d73d7dc90ecdd16c181493941f5487.zip |
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.
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/configure.html | 2 | ||||
-rw-r--r-- | tpl/install.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/configure.html b/tpl/configure.html index a015770e..b4197bf9 100644 --- a/tpl/configure.html +++ b/tpl/configure.html | |||
@@ -81,7 +81,7 @@ | |||
81 | </td> | 81 | </td> |
82 | </tr> | 82 | </tr> |
83 | <tr> | 83 | <tr> |
84 | <td valign="top"><b>Enable API</b></td> | 84 | <td valign="top"><b>Enable REST API</b></td> |
85 | <td> | 85 | <td> |
86 | <input type="checkbox" name="apiEnabled" id="apiEnabled" | 86 | <input type="checkbox" name="apiEnabled" id="apiEnabled" |
87 | {if="$api_enabled"}checked{/if}/> | 87 | {if="$api_enabled"}checked{/if}/> |
diff --git a/tpl/install.html b/tpl/install.html index eda4c54d..42874dcd 100644 --- a/tpl/install.html +++ b/tpl/install.html | |||
@@ -21,7 +21,7 @@ | |||
21 | <td> | 21 | <td> |
22 | <input type="checkbox" name="enableApi" id="enableApi" checked="checked"> | 22 | <input type="checkbox" name="enableApi" id="enableApi" checked="checked"> |
23 | <label for="enableApi"> | 23 | <label for="enableApi"> |
24 | Enable Shaarli's API. | 24 | Enable Shaarli's REST API. |
25 | Allow third party software to use Shaarli such as mobile application. | 25 | Allow third party software to use Shaarli such as mobile application. |
26 | </label> | 26 | </label> |
27 | </td> | 27 | </td> |