0.1
100%
DoD
PRIMARY
PRIMARY devices can (via API, not mobile app):
- log in
- request JSON of available devices (#1)
- request JSON of available devices' SIMs (
ab86ed7e76) - request JSON of recorded SMS messages for an available SIM (
72edb440b7)
0.2
100%
DoD
PRIMARY
PRIMARY devices can (via API, not mobile app):
- send an SMS message to a chosen SECONDARY device
- there'll be an API endpoint restricted to PRIMARY for receiving the message and storing it in a separate SQL table to be polled by SECONDARY
SECONDARY
SECONDARY devices can (via API, not mobile app):
- poll the DB for SMS messages to be sent
- needs a new API endpoint restricted to SECONDARY only
- the API can get phone numbers either from the DB with the access key from SECONDARY's JWT, or we can add phone numbers to extra JWT claims
All done in 0414ee9.