wheatley
wheatley copied to clipboard
Ringing Room API
As the ringing room api gets added and becomes more stable we should move to using it
Endpoint | Method | Description |
---|---|---|
/api/tokens | POST | Get bearer token |
/api/tokens | DELETE | Revoke bearer token |
/api/user | GET | Get current user details |
/api/user | POST | Register new user |
/api/user | PUT | Modify user settings |
/api/user | DELETE | Delete user account |
/api/tower/<tower_id> | GET | Get connection details for tower_id |
-
/api/tower/<tower_id> | GET
to get the correct url instead of parsing it off the page -
/api/tokens | POST
to get a user token. This might need to change--name
to--email
and--password
and use/api/user | GET
to get the name