Ajouter squelette de apihandler.ScanPOST

This commit is contained in:
Victor Lacasse-Beaudoin 2023-09-16 15:07:36 -04:00
parent 309942921d
commit 92e7a45b9f
2 changed files with 17 additions and 0 deletions

View file

@ -94,3 +94,12 @@ func (a *APIHandler) ScanGET(c echo.Context) error {
return c.JSON(r.StatusCode, r) 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
}

View file

@ -24,3 +24,11 @@ type ScanGET struct {
IsScanned bool IsScanned bool
} }
} }
// ScanPOST is the response type for `POST /v:version/scan/ http/1.1`
type ScanPOST struct {
Response
Data struct {
MembreID string
}
}