mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 20:13:06 +03:00
469 B
469 B
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:
{
"columns": [
"column_name1",
"column_name2",
"column_name3"
],
"rows": [
[
"column 1 value",
"column 2 value",
"column 3 value"
]
]
}
Error response:
{
"error": "Error message"
}