Add endpoint to get a single task (#106)
This commit is contained in:
parent
ed4c17892e
commit
9be5ab248c
8 changed files with 136 additions and 191 deletions
|
|
@ -221,6 +221,7 @@ func registerAPIRoutes(a *echo.Group) {
|
|||
},
|
||||
}
|
||||
a.PUT("/lists/:list", taskHandler.CreateWeb)
|
||||
a.GET("/tasks/:listtask", taskHandler.ReadOneWeb)
|
||||
a.GET("/tasks/all", taskHandler.ReadAllWeb)
|
||||
a.DELETE("/tasks/:listtask", taskHandler.DeleteWeb)
|
||||
a.POST("/tasks/:listtask", taskHandler.UpdateWeb)
|
||||
|
|
|
|||
Reference in a new issue