Ajouter squelette de apihandler.ScanPOST
This commit is contained in:
parent
309942921d
commit
92e7a45b9f
2 changed files with 17 additions and 0 deletions
|
@ -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
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue