Commit Graph

6 Commits (870cc96a1a33ba401e967a0aa7614f20de26b430)

Author SHA1 Message Date
mpeltriaux 870cc96a1a #31 API basic implementation Ema fetch
* adds API support for fetching EMA
3 years ago
mpeltriaux 4f6964b04a #31 API basic implementation EcoAccount fetch
* outsources json creation of modified_on an created_on to superclass
* adds API support for fetching ecoaccount data
3 years ago
mpeltriaux 897520f906 #31 API basic implementation Compensation
* adds compensation fetching for API v1
* refactors filter into predefined lookup dict of super class (needs to be customized on subclasses)
3 years ago
mpeltriaux 0c35e79d04 #31 API basic implementation Intervention fetch
* enhances intervention fetching and serialization
3 years ago
mpeltriaux 3938db1893 #31 API basic implementation Token Authentication
* adds token checking to AbstractModelAPIView
* adds user accessibility filtering for intervention API v1
* extends fetch_and_serialize() method to take a dict for db filtering instead of a single field and value
* organizes urlnames into supporting formats like "api:v1:intervention"
3 years ago
mpeltriaux 881da38538 #31 API basic implementation
* adds new app to project
* adds relation between User model and new APIUserToken model
* adds first implementation for GET of intervention
* adds basic code layout for future extension by having new versions
3 years ago