Commit Graph

4 Commits

Author SHA1 Message Date
b854695399 Unit test api
* adds unit test for APIUserToken
* enhances handling of token fetching for API
2023-08-17 10:44:58 +02:00
5b52119e89 #31 API further credential
* adds Kspuser as another expected header data to resolve the api user
* adds/updates translations
2022-01-28 16:35:25 +01:00
cf82f4b223 #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"
2022-01-21 16:15:16 +01:00
134651c8f7 #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
2022-01-21 15:26:08 +01:00