Closed cooperq closed 4 years ago
Each device should have its own API key. Towers will be added to a table with additional columns of external_id, api_key. Users can get an API key through the web interface (and manage config settings), towers will be in a shared database with their external ID and api key, users can get the latest id from an endpoint and upload more towers. the users table will contain api keys, project names and descriptions.
For eventual analysis of logs from other users we should sync the data to an externally hosted DB and webui for examining. Create an API and a service for this. Syncing should happen in batches assuming internet connections will be unstable.