diff --git a/cmd/server.go b/cmd/server.go index 0f513d6..1ba060d 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -116,6 +116,14 @@ func RunServer() { groupV1.GET("/bucket/:bucket", handleV1BucketRead) + groupV1.POST("/bucket/:bucket/:document", handleV1DocumentCreate) + + groupV1.GET("/bucket/:bucket/:document", handleV1DocumentRead) + + groupV1.PUT("/bucket/:bucket/:document", handleV1DocumentUpdate) + + groupV1.DELETE("/bucket/:bucket/:document", handleV1DocumentDelete) + // Static Routes e.GET("/static/general.css", handleStaticCSSGeneral)