Add /tables/:name/info endpoint to get table data details
This commit is contained in:
1
main.go
1
main.go
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user