Documentation
¶
Overview ¶
Package forgetapplications deletes applications from the trash for good: DELETE /api/applications/deleted.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(db bun.IDB) http.HandlerFunc
Handler deletes for good, with their history, the applications of ids in the trash, or all of them with all. A session only: an API or OAuth token is refused. Ids not in the trash are listed in failed. @Summary Delete applications from the trash for good @Tags applications @Accept json @Produce json @Param body body forgetapplications.Input true "body" @Success 200 {object} domain.BatchResult @Failure 400 {object} respond.Failure @Failure 401 {object} respond.Failure @Failure 403 {object} respond.Failure @Router /api/applications/deleted [delete]
Types ¶
This section is empty.