Add the initial Admin User
- set master.default="xxxx" in application.conf
- restart the geostreams-api-v3
- use xxxx to signup, then xxxx is set as default admin
Add other user as Admin User
- make sure you are the admin user
- click "mange user" on the home page
- click enable
Delete a datapoint
use https://opensource.ncsa.illinois.edu/bitbucket/snippets/6de7681f45fe4731a4acce344ddcb346
Update trends region
use https://opensource.ncsa.illinois.edu/bitbucket/snippets/e2862e635cbf426988d8c6d4231e151b as the input json,
it indicate which regions & parameters are used. regions's geometry information is not stored in the DB, it uses the one in the json file.
POST to /api/trends/region with master user token.