add ssh option to README usage

This commit is contained in:
Arya Kiran 2023-01-17 20:38:08 +05:30
parent ad85946120
commit 992a11d35f
Signed by untrusted user who does not match committer: arya
GPG Key ID: 842D12BDA50DF120

View File

@ -21,4 +21,4 @@ Currently, PublAPI has only two routes, /online and /signup.
| ROUTE | TYPE | EXTRA ARGS | DESCRIPTION | | ROUTE | TYPE | EXTRA ARGS | DESCRIPTION |
|---------|------|-----------------|------------------------------------| |---------|------|-----------------|------------------------------------|
| /online | GET | N/A | Returns the number of online users | | /online | GET | N/A | Returns the number of online users |
| /signup | POST | username, email | Creates a register script and notifies admins that a new registration request was sent | | /signup | POST | username, email, ssh | Creates a register script and notifies admins that a new registration request was sent. Note: SSH Key must be sent in base64 form |