Remove API reference doc since API is not directly exposed
This commit is contained in:
parent
0c06506fd5
commit
98b28ce185
44
API.md
44
API.md
@ -1,44 +0,0 @@
|
||||
# API
|
||||
|
||||
Current endpoint:
|
||||
|
||||
```
|
||||
GET /info
|
||||
GET /tables
|
||||
GET /tables/:table
|
||||
GET /tables/:table/indexes
|
||||
GET /query
|
||||
POST /query
|
||||
GET /explain
|
||||
POST /explain
|
||||
GET /history
|
||||
```
|
||||
|
||||
# Query Response
|
||||
|
||||
Successful response:
|
||||
|
||||
```json
|
||||
{
|
||||
"columns": [
|
||||
"column_name1",
|
||||
"column_name2",
|
||||
"column_name3"
|
||||
],
|
||||
"rows": [
|
||||
[
|
||||
"column 1 value",
|
||||
"column 2 value",
|
||||
"column 3 value"
|
||||
]
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Error response:
|
||||
|
||||
```json
|
||||
{
|
||||
"error": "Error message"
|
||||
}
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user