rabbit-hole/src/API.md

441 B

Hole Frontend API

Loginning and Registration

Registration request

On base of password will be generted keypair for signing and keypair for encoding.

    {
    request_type: "registration",
    username: "user",
    password: "passwd123",
    }

Login request

    {
    request_type: login,
    username: "name",
    decode_key: "key",
    sign_key: "key",
    }

Adding friends

Each user have :w