个人项目
    个人项目
    • 用户登录
      POST
    • 设备列表
      GET
    • 变量列表
      GET
    • 历史列表
      GET

      设备列表

      开发中
      GET
      /api/Device/DeviceList

      请求参数

      Body 参数application/json
      object {0}
      示例
      {}

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'http://10.23.90.101:4000/api/Device/DeviceList' \
      --header 'Content-Type: application/json' \
      --data-raw '{}'

      返回响应

      🟢200成功
      application/json
      Body
      object {0}
      示例
      {
          "result": [
              {
                  "id": "18e674b0697c4c1baccaa66bbdad4cae",
                  "deviceName": "尘埃粒子计数器",
                  "sort": 0,
                  "description": "",
                  "driverId": "73df9bafe63e48df9009695791f69569",
                  "autoStart": true,
                  "cgUpload": false,
                  "isPush": false,
                  "enforcePeriod": 0,
                  "cmdPeriod": 10,
                  "deviceTypeEnum": 1,
                  "createTime": null,
                  "createBy": null,
                  "updateTime": null,
                  "updateBy": null,
                  "parentId": "",
                  "isConnected": true,
                  "packageSize": 20,
                  "maxInterval": 10,
                  "errorMsg": "",
                  "connType": 0,
                  "station": 0
              },
              {
                  "id": "5e78017117004ecaa36fc46b7d7bff3f",
                  "deviceName": "报警灯",
                  "sort": 0,
                  "description": "",
                  "driverId": "73df9bafe63e48df9009695791f69569",
                  "autoStart": true,
                  "cgUpload": false,
                  "isPush": false,
                  "enforcePeriod": 0,
                  "cmdPeriod": 20,
                  "deviceTypeEnum": 1,
                  "createTime": null,
                  "createBy": "",
                  "updateTime": null,
                  "updateBy": "",
                  "parentId": "",
                  "isConnected": true,
                  "packageSize": 20,
                  "maxInterval": 20,
                  "errorMsg": "",
                  "connType": 0,
                  "station": 0
              }
          ],
          "code": 200,
          "message": "SUCCESS"
      }
      修改于 2025-06-17 08:49:14
      上一页
      用户登录
      下一页
      变量列表
      Built with