more info to api
This commit is contained in:
parent
6f27401882
commit
abef0d7694
@ -28,6 +28,8 @@ def get_keys():
|
||||
keys.sort()
|
||||
return 'Existing keys:<br><br>{}'.format(
|
||||
['<a href="/api/keys/{0}/">{0}</a>'.format(key.decode()) for key in keys]) + \
|
||||
'DAF: DatenaufzeichnungAutonomesFahren, TL: TrafficLight, TV: TargetVelocity' \
|
||||
'<br><br>' \
|
||||
'<br><br>Access Api via <br><br>' \
|
||||
'GET /api/keys<br>' \
|
||||
'GET /api/keys/<key><br>'
|
||||
@ -43,7 +45,6 @@ def api_get_of_key(key):
|
||||
return el.get_value_of(key)
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
el = EventLogger(redis, LOG_TO_REDIS, VERBOSE)
|
||||
threading.Thread(target=el.setup_msq_queue).start()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user