report

package
v0.0.0-...-4711403 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2023 License: MPL-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Globals utils.Globals
}

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]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL