summary refs log tree commit diff
path: root/COMMANDS.md
blob: 8479ac0a25dcfad94ebbe25b4280396792de556d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Commands

## `register`
Register an account.

### Required fields
- `username`: 1-20 characters, a-z0-9-_
- `password`: 1-255 characters
- `invite_code`: 16 characters

## `login_pswd`
Log in using a password.

### Required fields
- `username`: 1-20 characters
- `password`: 1-255 characters

## `login_token`
Log in using a token.

### Required fields
- `token`: 32-127 characters