1
0
forked from apxtri/apxtri

modif doc

This commit is contained in:
philc 2024-04-15 09:32:18 +02:00
parent 9bf76a17dc
commit 063df74b14

View File

@ -300,11 +300,11 @@ router.put("/person/:tribe", checkHeaders, isAuthenticated, (req, res) => {
* @apiSuccess {object} send recovery email * @apiSuccess {object} send recovery email
* @apiSuccessExample {json} Success-Response: * @apiSuccessExample {json} Success-Response:
* HTTP/1.1 200 OK * HTTP/1.1 200 OK
* {"status":200, "ref":"Pagans", "msg":"recoveryemailsent", "data":{email,tribe,nbalias:'number of alias with this email', nbqent:'number of eamil sent must = nbalias'}} * {"status":200, "ref":"Pagans", "msg":"recoveryemailsent", "data":{email,tribe,numberemailsent'}}
* *
* @apiError (404) {string} emailnotfound email does not exist for this tribe * @apiError (404) {string} emailnotfound email does not exist for this tribe
* @apiErrorExample {json} * @apiErrorExample {json}
* {status: 404, ref:"pagans",msg:"emailnotfound",data: { tribe,email } } * {status: 404, ref:"pagans",msg:"recoveryemailnotfound",data: { tribe,email } }
* *
*/ */
router.post("/keyrecovery", checkHeaders, (req, res) => { router.post("/keyrecovery", checkHeaders, (req, res) => {