Update docs
This commit is contained in:
29
API.md
29
API.md
@@ -1,25 +1,20 @@
|
|||||||
## API
|
# API
|
||||||
|
|
||||||
Get current database tables:
|
Current endpoint:
|
||||||
|
|
||||||
```
|
```
|
||||||
GET /tables
|
GET /info
|
||||||
|
GET /tables
|
||||||
|
GET /tables/:table
|
||||||
|
GET /tables/:table/indexes
|
||||||
|
GET /query
|
||||||
|
POST /query
|
||||||
|
GET /explain
|
||||||
|
POST /explain
|
||||||
|
GET /history
|
||||||
```
|
```
|
||||||
|
|
||||||
Get table details:
|
# Query Response
|
||||||
|
|
||||||
```
|
|
||||||
GET /tables/:name
|
|
||||||
```
|
|
||||||
|
|
||||||
Execute select query:
|
|
||||||
|
|
||||||
```
|
|
||||||
POST /select?query=SQL
|
|
||||||
GET /select?query=SQL
|
|
||||||
```
|
|
||||||
|
|
||||||
### Response formats
|
|
||||||
|
|
||||||
Successful response:
|
Successful response:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user