Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
func (Controller) Report ¶
func (controller Controller) Report(c echo.Context) error
Report @Summary Report an image @Description Report an image with a given image ID and description @Tags Report @Accept json @Produce json @Param image body serializers.ReportImage true "Image Data" @Security ApiKeyAuth @Success 200 {object} database.ReportRes "Returns the report information" @Failure default {object} serializers.JSONError @Router /report [post]
Click to show internal directories.
Click to hide internal directories.