diff --git a/SE_API/API.py b/SE_API/API.py index 6350d47..d62914a 100644 --- a/SE_API/API.py +++ b/SE_API/API.py @@ -89,13 +89,21 @@ def confirm_user_to_campus(validation_token): @auto.doc() def send_activation(token): """ - This Method Will Send An Email To The User - To Confirm his Account - :param token: - seToken - :payload: JSON - {email: 'academic@email.ac.com'} - :return: - 200 - Email Sent - No Response - 400 - Bad Request - 403 - Invalid Token + This Method Will Send An Email To The User - To Confirm his Account +
+ Route Parameters
+ - token: 'seToken'
+
+ Payload
+ - JSON object Example +
+ {email: 'academic@email.ac.com'} +
+
+ Response
+ 200 - Email Sent - No Response
+ 400 - Bad Request
+ 403 - Invalid Token
""" if not request.data: return Response(response=json.dumps({'message': 'Bad Request'}),