vikunja-api/routes/api/v1/item_delete.go

37 lines
834 B
Go
Raw Normal View History

package v1
import (
"github.com/labstack/echo"
"net/http"
)
2018-07-10 14:02:23 +02:00
// DeleteListItemByIDtemByID is the web handler to delete a list item
func DeleteListItemByIDtemByID(c echo.Context) error {
2018-06-13 13:45:22 +02:00
// swagger:operation DELETE /item/{itemID} lists deleteListItem
// ---
// summary: Deletes a list item
// consumes:
// - application/json
// produces:
// - application/json
// parameters:
// - name: itemID
// in: path
// description: ID of the list item to delete
// type: string
// required: true
// responses:
// "200":
// "$ref": "#/responses/Message"
// "400":
// "$ref": "#/responses/Message"
// "403":
// "$ref": "#/responses/Message"
// "404":
// "$ref": "#/responses/Message"
// "500":
// "$ref": "#/responses/Message"
2018-07-11 11:44:17 +02:00
return echo.NewHTTPError(http.StatusNotImplemented)
2018-06-13 13:45:22 +02:00
}