File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,15 @@ mysql:
4343
4444## API
4545
46- |Method | Path | Auth |
47- | :-------------: |:-------------| :-----:|
48- | GET | /api/v1/:tableName/:id | NO |
49- | GET | /api/v1/:tableName?order=desc&page=0&size=20 | NO |
50- | POST | /login | NO |
51- | GET | /api/refresh_token | YES |
52- | DELETE | /api/v1/:tableName/:id | YES |
53-
46+ |Method | Path | Auth | Auth |
47+ | :-------------: |:-------------| :-----:| :-----:|
48+ | GET | /api/v1/:tableName/:id | NO | serect * from tableName where id = ? |
49+ | GET | /api/v1/:tableName?order=desc&page=0&size=20 | NO | select * from tableName where id>0 order by id desc limit 0,20 |
50+ | POST | /login | NO | login |
51+ | GET | /api/refresh_token | YES | refresh_token |
52+ | DELETE | /api/v1/:tableName/:id | YES | delete from tableName where id = ? |
53+ | POST | /api/v1/:tableName| YES | insert into tableName (data.key) values (data.value) |
54+ | PUT | /api/v1/:tableName| YES | create a table |
5455## Security
5556
5657### Login API:
You can’t perform that action at this time.
0 commit comments