rabbit-hole/src/API.md

29 lines
441 B
Markdown
Raw Normal View History

2021-03-16 16:18:01 +00:00
# Hole Frontend API
## Loginning and Registration
### Registration request
On base of password will be generted keypair for signing and keypair for encoding.
``` json
{
request_type: "registration",
username: "user",
password: "passwd123",
}
```
### Login request
```json
{
request_type: login,
username: "name",
decode_key: "key",
sign_key: "key",
}
```
## Adding friends
Each user have :w