-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove some deprecated interface parts of account registration.
- Loading branch information
Showing
5 changed files
with
19 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,48 +72,6 @@ If the code is incorrect or if an incorrect code has been tried enough times, th | |
} | ||
``` | ||
|
||
## Registration without pre-verification | ||
(RefRegistrationNoPreverification)= | ||
|
||
_NOTE: This flow is currently not used by any clients. At least this was the state on 2020-05-28_ | ||
|
||
It is also possible to call `POST /register` without verifying the email | ||
address, in which case the account will have to be activated later by calling | ||
[`POST /activate`](RefActivationSubmit). Sample API request and response: | ||
|
||
``` | ||
POST /register | ||
{ | ||
// The name is mandatory | ||
"name": "Pink", | ||
// 'email' has to be provided | ||
"email": "[email protected]", | ||
// The password is optional | ||
"password": "secret" | ||
} | ||
``` | ||
|
||
``` | ||
201 Created | ||
Set-Cookie: zuid=... | ||
{ | ||
"accent_id": 0, | ||
"assets": [], | ||
"email": "[email protected]", | ||
"id": "c193136a-55fb-4534-ad72-d02a72bb16af", | ||
"locale": "en", | ||
"managed_by": "wire", | ||
"name": "Pink", | ||
"picture": [] | ||
} | ||
``` | ||
|
||
A verification email will be sent to the email address (if provided). | ||
|
||
## Anonymous registration, aka "Wireless" | ||
(RefRegistrationWireless)= | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters