Ajouter upload de documents par API #40

Merged
vlbeaudoin merged 6 commits from feature/v1-document-upload into main 2023-04-24 18:41:31 -04:00
Showing only changes of commit 902e57cb1f - Show all commits

View file

@ -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)