diff --git a/apihandler/apihandler.go b/apihandler/apihandler.go index a485de9..ae97e0f 100644 --- a/apihandler/apihandler.go +++ b/apihandler/apihandler.go @@ -94,3 +94,12 @@ func (a *APIHandler) ScanGET(c echo.Context) error { return c.JSON(r.StatusCode, r) } + +// ScanPOST is the handler for `POST /v{version}/scan/{membre_id}/ http/1.1` +func (a *APIHandler) ScanPOST(c echo.Context) error { + var r apiresponse.ScanPOST + + _ = r + + return nil +} diff --git a/apiresponse/apiresponse.go b/apiresponse/apiresponse.go index 619f240..cdeb9c0 100644 --- a/apiresponse/apiresponse.go +++ b/apiresponse/apiresponse.go @@ -24,3 +24,11 @@ type ScanGET struct { IsScanned bool } } + +// ScanPOST is the response type for `POST /v:version/scan/ http/1.1` +type ScanPOST struct { + Response + Data struct { + MembreID string + } +}