|
|
|
@ -214,7 +214,7 @@ paths:
|
|
|
|
|
schema:
|
|
|
|
|
"$ref": "definitions/errors/rate_limited.yaml"
|
|
|
|
|
tags:
|
|
|
|
|
- User data
|
|
|
|
|
- Account management
|
|
|
|
|
"/register/email/requestToken":
|
|
|
|
|
post:
|
|
|
|
|
summary: Begins the validation process for an email to be used during registration.
|
|
|
|
@ -265,6 +265,8 @@ paths:
|
|
|
|
|
}
|
|
|
|
|
schema:
|
|
|
|
|
"$ref": "definitions/errors/error.yaml"
|
|
|
|
|
tags:
|
|
|
|
|
- Account management
|
|
|
|
|
"/register/msisdn/requestToken":
|
|
|
|
|
post:
|
|
|
|
|
summary: Requests a validation token be sent to the given phone number for the purpose of registering an account
|
|
|
|
@ -315,6 +317,8 @@ paths:
|
|
|
|
|
}
|
|
|
|
|
schema:
|
|
|
|
|
"$ref": "definitions/errors/error.yaml"
|
|
|
|
|
tags:
|
|
|
|
|
- Account management
|
|
|
|
|
"/account/password":
|
|
|
|
|
post:
|
|
|
|
|
summary: "Changes a user's password."
|
|
|
|
@ -378,7 +382,7 @@ paths:
|
|
|
|
|
schema:
|
|
|
|
|
"$ref": "definitions/errors/rate_limited.yaml"
|
|
|
|
|
tags:
|
|
|
|
|
- User data
|
|
|
|
|
- Account management
|
|
|
|
|
"/account/password/email/requestToken":
|
|
|
|
|
post:
|
|
|
|
|
summary: Requests a validation token be sent to the given email address for the purpose of resetting a user's password
|
|
|
|
@ -434,6 +438,8 @@ paths:
|
|
|
|
|
"errcode": "M_THREEPID_NOT_FOUND",
|
|
|
|
|
"error": "Email not found"
|
|
|
|
|
}
|
|
|
|
|
tags:
|
|
|
|
|
- Account management
|
|
|
|
|
"/account/password/msisdn/requestToken":
|
|
|
|
|
post:
|
|
|
|
|
summary: Requests a validation token be sent to the given phone number for the purpose of resetting a user's password.
|
|
|
|
@ -489,6 +495,8 @@ paths:
|
|
|
|
|
"errcode": "M_THREEPID_NOT_FOUND",
|
|
|
|
|
"error": "Phone number not found"
|
|
|
|
|
}
|
|
|
|
|
tags:
|
|
|
|
|
- Account management
|
|
|
|
|
"/account/deactivate":
|
|
|
|
|
post:
|
|
|
|
|
summary: "Deactivate a user's account."
|
|
|
|
@ -565,7 +573,7 @@ paths:
|
|
|
|
|
schema:
|
|
|
|
|
"$ref": "definitions/errors/rate_limited.yaml"
|
|
|
|
|
tags:
|
|
|
|
|
- User data
|
|
|
|
|
- Account management
|
|
|
|
|
"/register/available":
|
|
|
|
|
get:
|
|
|
|
|
summary: Checks to see if a username is available on the server.
|
|
|
|
@ -627,4 +635,4 @@ paths:
|
|
|
|
|
schema:
|
|
|
|
|
"$ref": "definitions/errors/rate_limited.yaml"
|
|
|
|
|
tags:
|
|
|
|
|
- User data
|
|
|
|
|
- Account management
|
|
|
|
|