You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1327 lines
24 KiB
HTTP
1327 lines
24 KiB
HTTP
POST http://localhost/monitorUnit/getDeviceOperations
|
|
|
|
}
|
|
|
|
###
|
|
|
|
POST http://localhost:9601/monitorUnit/export
|
|
|
|
<> 2023-09-05T031749.200.json
|
|
|
|
###
|
|
|
|
GET http://localhost:9601/monitorUnit/ElectronicNumVo
|
|
|
|
<> 2023-09-05T031734.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 71
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": { "beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T151123.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 71
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": { "beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T151121.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 71
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": { "beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T151106.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 102
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"superTableName":"st_ds_1",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T150635.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 102
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"superTableName":"st_ds_1",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T150420.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_4",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693683999996
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T150015.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_4",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693583999996
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T150007.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_4",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693582999996
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T150004.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_4",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693581999996
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145959.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693772969706
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145949.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693772969106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145933.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693672969106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145928.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693572969106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145916.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693572949106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145911.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693571949106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145907.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693326578166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145851.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693326378166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145821.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693326368166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145814.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693316368166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145810.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_1",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693766689106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145759.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_1",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693666689106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145750.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_1",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693616689106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145745.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_1",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693616589106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145741.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 292
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"tableName": "t_ds_1",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693616189106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145734.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/createTable
|
|
Content-Type: application/json
|
|
Content-Length: 494
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"superTableName": "st_ds",
|
|
"tableName": "t_ds_4",
|
|
"tagsFieldValues": [
|
|
{
|
|
"fieldName": "deviceCode",
|
|
"fieldValue": "'0009340109040_33a'"
|
|
},
|
|
{
|
|
"fieldName": "deviceName",
|
|
"fieldValue": "'定位传感器'"
|
|
},
|
|
{
|
|
"fieldName": "deviceModeId",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "monitorUnitId",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "sceneId",
|
|
"fieldValue": 1
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145715.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/createTable
|
|
Content-Type: application/json
|
|
Content-Length: 492
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"superTableName": "st_ds",
|
|
"tableName": "t_ds_3",
|
|
"tagsFieldValues": [
|
|
{
|
|
"fieldName": "deviceCode",
|
|
"fieldValue": "0009340109040924"
|
|
},
|
|
{
|
|
"fieldName": "deviceName",
|
|
"fieldValue": "'温度传感器2'"
|
|
},
|
|
{
|
|
"fieldName": "deviceModeId",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "monitorUnitId",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "sceneId",
|
|
"fieldValue": 1
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145711.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/createTable
|
|
Content-Type: application/json
|
|
Content-Length: 492
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"superTableName": "st_ds",
|
|
"tableName": "t_ds_2",
|
|
"tagsFieldValues": [
|
|
{
|
|
"fieldName": "deviceCode",
|
|
"fieldValue": "0009340109040126"
|
|
},
|
|
{
|
|
"fieldName": "deviceName",
|
|
"fieldValue": "'温度传感器1'"
|
|
},
|
|
{
|
|
"fieldName": "deviceModeId",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "monitorUnitId",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "sceneId",
|
|
"fieldValue": 1
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145708.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/createTable
|
|
Content-Type: application/json
|
|
Content-Length: 467
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"superTableName": "st_ds",
|
|
"tableName": "t_ds_1",
|
|
"tagsFieldValues": [
|
|
{
|
|
"fieldName": "deviceCode",
|
|
"fieldValue": "1"
|
|
},
|
|
{
|
|
"fieldName": "deviceName",
|
|
"fieldValue": "'基站'"
|
|
},
|
|
{
|
|
"fieldName": "deviceModeId",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "monitorUnitId",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "sceneId",
|
|
"fieldValue": 1
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145704.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/createSuperTable
|
|
Content-Type: application/json
|
|
Content-Length: 667
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_hwsaas",
|
|
"superTableName": "st_ds",
|
|
"firstFieldName": "ts",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"dataTypeCode": 8
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"dataTypeCode": 8
|
|
}
|
|
],
|
|
"tagsFields": [
|
|
{
|
|
"fieldName": "deviceCode",
|
|
"dataTypeCode": 10,
|
|
"size": 50
|
|
},
|
|
{
|
|
"fieldName": "deviceName",
|
|
"dataTypeCode": 10,
|
|
"size": 200
|
|
},
|
|
{
|
|
"fieldName": "deviceModeId",
|
|
"dataTypeCode": 2
|
|
},
|
|
{
|
|
"fieldName": "monitorUnitId",
|
|
"dataTypeCode": 2
|
|
},
|
|
{
|
|
"fieldName": "sceneId",
|
|
"dataTypeCode": 2
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T145614.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 130
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"databaseName":"db_scene_1","superTableName":"st_ds_1",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T144005.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 130
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"databaseName":"db_scene_1","superTableName":"st_ds_1",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T144003.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 130
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"databaseName":"db_scene_1","superTableName":"st_ds_1",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T143711.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 130
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"databaseName":"db_scene_1","superTableName":"st_ds_1",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T143237.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 130
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"databaseName":"db_scene_1","superTableName":"st_ds_1",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T142515.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 130
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"databaseName":"db_scene_1","superTableName":"st_ds_1",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T142512.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/getOnlineDevicesGroupByDay
|
|
Content-Type: application/json
|
|
Content-Length: 128
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"params": {"databaseName":"db_scene_1","superTableName":"st_ds",
|
|
"beginTime":1666666666666,"endTime":1766666666666 }
|
|
|
|
}
|
|
|
|
<> 2023-09-05T142508.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_4",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693589999996
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142413.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_4",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693589999906
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142405.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_4",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693389999906
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142353.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693579949106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142336.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693379949106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142320.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_3",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693279949106
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142305.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693376368166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142258.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693276368166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142242.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693176368166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142237.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693176268166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142233.200.json
|
|
|
|
###
|
|
|
|
POST http://localhost:9602/tdengine/insertTable
|
|
Content-Type: application/json
|
|
Content-Length: 293
|
|
Connection: Keep-Alive
|
|
User-Agent: Apache-HttpClient/4.5.14 (Java/17.0.8)
|
|
Accept-Encoding: br,deflate,gzip,x-gzip
|
|
|
|
{
|
|
"databaseName": "db_scene_1",
|
|
"tableName": "t_ds_2",
|
|
"schemaFields": [
|
|
{
|
|
"fieldName": "onlineStatus",
|
|
"fieldValue": 0
|
|
},
|
|
{
|
|
"fieldName": "deviceType",
|
|
"fieldValue": 1
|
|
},
|
|
{
|
|
"fieldName": "ts",
|
|
"fieldValue": 1693176168166
|
|
}
|
|
]
|
|
}
|
|
|
|
<> 2023-09-05T142218.200.json
|
|
|
|
###
|
|
|