mirror of
https://git.selfprivacy.org/SelfPrivacy/wiki.selfprivacy.org.git
synced 2024-11-10 13:03:12 +00:00
Add a note about device names
This commit is contained in:
parent
c1e5c07745
commit
8acf799ad5
|
@ -122,6 +122,7 @@ POST `/auth/new_device/authorize` is used with two arguments:
|
|||
- If new device token is incorrect, does not exist of expired, 404 error is returned
|
||||
- `device` is the device name.
|
||||
- If the name already taken, random suffix will be added.
|
||||
- Name SHOULD only contain `[^a-zA-Z0-9]`. All other symbols will be replaced with `_`
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
|
@ -152,3 +153,4 @@ POST `/auth/recovery_token/use` to use the token. Two required arguments:
|
|||
- If recovery token is incorrect, does not exist of expired, 404 error is returned
|
||||
- `device` is the device name
|
||||
- If the name already taken, random suffix will be added.
|
||||
- Name SHOULD only contain `[^a-zA-Z0-9]`. All other symbols will be replaced with `_`
|
Loading…
Reference in a new issue