feat(api): Implémenter V1DocumentKeyPUT

N'inclue pas de méthodes associées au API client
This commit is contained in:
Victor Lacasse-Beaudoin 2024-02-01 17:38:48 -05:00
parent 33c23d89e4
commit ef75eb29fa
2 changed files with 39 additions and 10 deletions

View file

@ -226,7 +226,7 @@ func RunServer() {
if err := pave.EchoRegister[
apirequest.V1DocumentKeyPUT,
apiresponse.V1DocumentKeyPUT](groupV1, &p, "/v1", http.MethodPut, "/:bucket/:document", "Renommer un document", "V1DocumentKeyPUT", v1Handler.V1DocumentKeyPUT); err != nil {
apiresponse.V1DocumentKeyPUT](groupV1, &p, "/v1", http.MethodPut, "/bucket/:bucket/:document/key", "Renommer un document", "V1DocumentKeyPUT", v1Handler.V1DocumentKeyPUT); err != nil {
log.Fatal(err)
}