|
|
|
---
|
|
|
|
title: 'MQTT Topic: frontend_thing_update'
|
|
|
|
---
|
|
|
|
# `frontend_thing_update`
|
|
|
|
|
|
|
|
:warning: This is still WIP
|
|
|
|
|
|
|
|
```py
|
|
|
|
{
|
|
|
|
"version": 5
|
|
|
|
"uuid": <string>
|
|
|
|
"name": <string>
|
|
|
|
"description": <string>,
|
|
|
|
"project": {
|
|
|
|
"name": <string>,
|
|
|
|
"uuid": <string>,
|
|
|
|
},
|
|
|
|
"ingest_type": thing.datasource_type,
|
|
|
|
"database": {
|
|
|
|
"username": <string>
|
|
|
|
"password": <string>
|
|
|
|
"url": <string>
|
|
|
|
"ro_username": <string>
|
|
|
|
"ro_password": <string>
|
|
|
|
"ro_url": <string>
|
|
|
|
"schema": <string>
|
|
|
|
},
|
|
|
|
"qaqc": get_qaqc_properties(thing),
|
|
|
|
"parsers": get_parser_properties(thing),
|
|
|
|
"mqtt_device_type": (
|
|
|
|
thing.mqtt_device_type.name if thing.mqtt_device_type else None
|
|
|
|
),
|
|
|
|
"raw_data_storage": {
|
|
|
|
"bucket_name": <string>
|
|
|
|
"username": <string>
|
|
|
|
"password": <string>
|
|
|
|
"filename_pattern": <string>
|
|
|
|
},
|
|
|
|
"mqtt": {
|
|
|
|
"username": <string>
|
|
|
|
"password_hash": <string>
|
|
|
|
"password": <string>
|
|
|
|
"topic": <string>
|
|
|
|
"uri": <string>
|
|
|
|
},
|
|
|
|
"external_sftp": {
|
|
|
|
"sync_enabled": thing.ext_sftp_sync_enabled,
|
|
|
|
"uri": <string>
|
|
|
|
"path": <string>
|
|
|
|
"username": <string>
|
|
|
|
"password": <string>
|
|
|
|
"sync_interval": thing.ext_sftp_sync_interval,
|
|
|
|
"public_key": <string>
|
|
|
|
"private_key": null,
|
|
|
|
},
|
|
|
|
"external_api": get_http_api_properties(thing),
|
|
|
|
}
|
|
|
|
``` |
|
|
\ No newline at end of file |