- update and cleanup in README.md - update getIdentity to throw response exception with 401 in JwtService - update http files to use identity from env - add cacheable to getIdentityFromDevice in DeviceRegistryService - add RedisCacheConfiguration - add CacheProperty - set up cache property - set up data redis cache
24 lines
370 B
HTTP
24 lines
370 B
HTTP
### get measurement
|
|
GET {{hostname}}/measurement
|
|
Identity: {{identity}}
|
|
|
|
### add measurement for all
|
|
POST {{hostname}}/measurement
|
|
Content-Type: application/json
|
|
Identity: {{identity}}
|
|
|
|
{
|
|
"button0": 0,
|
|
"button1": 1,
|
|
"button2": 0
|
|
}
|
|
|
|
### add measurement for one
|
|
POST {{hostname}}/measurement
|
|
Content-Type: application/json
|
|
Identity: {{identity}}
|
|
|
|
{
|
|
"button0": 1
|
|
}
|