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.
This commit is contained in:
parent
423ab02846
commit
18e6796726
18 changed files with 983 additions and 16 deletions
|
@ -81,7 +81,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><b>Enable API</b></td>
|
||||
<td valign="top"><b>Enable REST API</b></td>
|
||||
<td>
|
||||
<input type="checkbox" name="apiEnabled" id="apiEnabled"
|
||||
{if="$api_enabled"}checked{/if}/>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<td>
|
||||
<input type="checkbox" name="enableApi" id="enableApi" checked="checked">
|
||||
<label for="enableApi">
|
||||
Enable Shaarli's API.
|
||||
Enable Shaarli's REST API.
|
||||
Allow third party software to use Shaarli such as mobile application.
|
||||
</label>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue