Skip to content

Commit e455371

Browse files
authored
Update README.md
1 parent 5cdd4cd commit e455371

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
# 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)
35

46
##### API Endpoints
57
<table>
68
<tr><th>HTTP Method</th> <th>URI</th> <th>Action</th></tr>
79

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>
1113

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>
1517

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>
1921
</table>
2022

2123
##### Install

0 commit comments

Comments
 (0)