Commit Graph

4 Commits (daee3e71b3a421ea5378a0d42d4a12b351a95c0a)

Author SHA1 Message Date
mpeltriaux 9476713911 Unit test api
* adds unit test for APIUserToken
* enhances handling of token fetching for API
1 year ago
mpeltriaux e0f7de37b6 #31 API further credential
* adds Kspuser as another expected header data to resolve the api user
* adds/updates translations
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