Add /tables/:name/info endpoint to get table data details

This commit is contained in:
Dan Sosedoff
2014-10-17 20:30:08 -07:00
parent abfd6dd688
commit 21bcc6e4b8
2 changed files with 12 additions and 0 deletions

View File

@@ -82,6 +82,7 @@ func startServer() {
router.GET("/info", API_Info)
router.GET("/tables", API_GetTables)
router.GET("/tables/:table", API_GetTable)
router.GET("/tables/:table/info", API_GetTableInfo)
router.GET("/tables/:table/indexes", API_TableIndexes)
router.GET("/query", API_RunQuery)
router.POST("/query", API_RunQuery)