Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API functionality #74

Closed
dandavies99 opened this issue Jul 19, 2022 · 3 comments
Closed

API functionality #74

dandavies99 opened this issue Jul 19, 2022 · 3 comments

Comments

@dandavies99
Copy link
Contributor

Below is a list of features that should be present in the system (adapted from Anaconda2.0 capabilities). Those with TODO are to do with permissions/roles/authentication so will be tackled next.

In general there is a ListCreateAPIView and a RetrieveUpdateDestroyAPIView for each model. The exception is the Measurement app (where the actual time-series data is stored) which only have ListAPIView because generally these should be added and updated by the functions in the Importing app. We will need to revisit this in the future though.

The plan is to add the necessary permission requirements to each view, then only users in the specific groups will be able to carry out those specific actions.

Functionalities that are the same or similar to Anaconda2.0

Core Functionalities

  • List of available stations/sensors
  • Sensors detail
  • Time series data with range selection
  • Import
    • Upload new sensor data

Authentication (TODO)

  • Multil-user model
  • User login

Management

  • Users management (TODO)
    • User CRUD
  • Privilege management (Manage users for a station) (TODO)
    • Add user as a sensor viewer
    • Add user as a sensor owner
  • Sensors/station management CRUD
  • Parameters management CRUD
    • Variables (temperate, water level, etc.)
    • Dimensions (meters, celsius, etc.)
@dandavies99
Copy link
Contributor Author

@drklrd @mgrsantox @HelNershingThapa - we can discuss these points here.

@dandavies99
Copy link
Contributor Author

After merging #76 there are now links to various API views at the homepage:

image

@dalonsoa
Copy link
Collaborator

dalonsoa commented Oct 3, 2024

Not applicable for the time being.

@dalonsoa dalonsoa closed this as completed Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants