|
1 | 1 | # StorageAPI |
2 | | -Simple Storage API using sqlite, built upon [Lumen](https://github.com/laravel/lumen) |
| 2 | +Simple and dynamic Storage API using sqlite, built upon [Lumen](https://github.com/laravel/lumen) |
| 3 | + |
| 4 | +Editor can be found here: [StorageAPI_Editor](https://github.com/ToxicTree/StorageAPI_Editor) |
3 | 5 |
|
4 | 6 | ##### API Endpoints |
5 | 7 | <table> |
6 | 8 | <tr><th>HTTP Method</th> <th>URI</th> <th>Action</th></tr> |
7 | 9 |
|
8 | | -<tr><td>GET</td> <td>api/</td> <td>Fetches all tables</td></tr> |
9 | | -<tr><td>GET</td> <td>api/table</td> <td>Fetches all posts in specified table</td></tr> |
10 | | -<tr><td>GET</td> <td>api/table/id</td> <td>Fetches post with specified id from table</td></tr> |
| 10 | +<tr><td>GET</td> <td>/</td> <td>Fetches all tables</td></tr> |
| 11 | +<tr><td>GET</td> <td>/table</td> <td>Fetches all posts in specified table</td></tr> |
| 12 | +<tr><td>GET</td> <td>/table/id</td> <td>Fetches post with specified id from table</td></tr> |
11 | 13 |
|
12 | | -<tr><td>POST</td> <td>api/</td> <td>Creates a new table</td></tr> |
13 | | -<tr><td>PUT</td> <td>api/table</td> <td>Updates an existing table</td></tr> |
14 | | -<tr><td>DELETE</td> <td>api/table</td> <td>Deletes specified table</td></tr> |
| 14 | +<tr><td>POST</td> <td>/</td> <td>Creates a new table</td></tr> |
| 15 | +<tr><td>PUT</td> <td>/table</td> <td>Updates an existing table</td></tr> |
| 16 | +<tr><td>DELETE</td> <td>/table</td> <td>Deletes specified table</td></tr> |
15 | 17 |
|
16 | | -<tr><td>POST</td> <td>api/table</td> <td>Creates a new post in table</td></tr> |
17 | | -<tr><td>PUT</td> <td>api/table/id</td> <td>Updates a existing post in table</td></tr> |
18 | | -<tr><td>DELETE</td> <td>api/table/id</td> <td>Deletes specified id from table</td></tr> |
| 18 | +<tr><td>POST</td> <td>/table</td> <td>Creates a new post in table</td></tr> |
| 19 | +<tr><td>PUT</td> <td>/table/id</td> <td>Updates a existing post in table</td></tr> |
| 20 | +<tr><td>DELETE</td> <td>/table/id</td> <td>Deletes specified id from table</td></tr> |
19 | 21 | </table> |
20 | 22 |
|
21 | 23 | ##### Install |
|
0 commit comments