运维服务中台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
2.1 KiB

'use strict';
const network = require('../../controllers/analysis/network');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/organizations/:pepProjectId/struc'] = { content: '获取项目下的结构物信息', visible: true };
router.get('/organizations/:pepProjectId/struc', network.getOrganizationsStruc)
1 year ago
app.fs.api.logAttr['GET/things/:iotaThingId/deploy'] = { content: '获取设备部署信息', visible: true };
router.get('/things/:iotaThingId/deploy', network.getThingsDeploy)
1 year ago
1 year ago
app.fs.api.logAttr['GET/meta/things/:iotaThingId/devices'] = { content: '获取部署设备原型', visible: true };
router.get('/meta/things/:iotaThingId/devices', network.getDeviceMetaDeployed)
app.fs.api.logAttr['GET/metrics/things/:iotaThingId/devices/link_status'] = { content: '获取设备在线状态/以结构物id集体获取', visible: true };
router.get('/metrics/things/:iotaThingId/devices/link_status', network.iotaLinkStatus)
app.fs.api.logAttr['GET/meta/things/:iotaThingId/devices'] = { content: '原始数据查询失败', visible: false };
router.get('/meta/things/:iotaThingId/devices', network.findDeviceMetaDeployed)
1 year ago
1 year ago
app.fs.api.logAttr['POST/sensors/last/data'] = { content: '原始数据查询失败', visible: true };
router.post('/sensors/last/data', network.findSensorLastData)
app.fs.api.logAttr['POST/devices/alarms'] = { content: '获取多个设备的告警信息', visible: false };
router.post('/devices/alarms', network.findAlarmsDevices)
1 year ago
app.fs.api.logAttr['POST/devices/cardStatus'] = { content: '获取物联网卡状态', visible: false };
router.post('/devices/cardStatus', network.findDevicesCardStatus);
1 year ago
app.fs.api.logAttr['GET/metrics/devices/:deviceId/link_status'] = { content: '获取设备在线状态/以设备id单个获取', visible: false };
router.get('/metrics/devices/:deviceId/link_status', network.getDevicesLlinkStatus);
app.fs.api.logAttr['GET/device/:deviceId/alarms'] = { content: '获取设备告警信息', visible: true };
router.get('/device/:deviceId/alarms', network.findAlarmsDevice);
}