ImperialCollegeLondon / paricia

Hydroclimatic data collection and information system
https://imperialcollegelondon.github.io/paricia/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

API functionality #74

Open dandavies99 opened 2 years ago

dandavies99 commented 2 years ago

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

Authentication (TODO)

Management

dandavies99 commented 2 years ago

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

dandavies99 commented 2 years ago

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

image