From 5551626516cc87b3ee3c02d9ade80dcb0b2e7343 Mon Sep 17 00:00:00 2001 From: Dan Sosedoff Date: Sat, 11 Oct 2014 13:40:15 -0500 Subject: [PATCH] Update docs --- API.md | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/API.md b/API.md index a4a5e0c..f936ada 100644 --- a/API.md +++ b/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: - -``` -GET /tables/:name -``` - -Execute select query: - -``` -POST /select?query=SQL - GET /select?query=SQL -``` - -### Response formats +# Query Response Successful response: