Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions en_US/api/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1519,6 +1519,43 @@ To update both group name and interval:
}
```

## Get subscribe status of groups

*GET* /api/v2/subscribes

### Request Params

**app** required

**name** optional, substring match driver name or group name

### Request Headers

**Authorization** Bearer \<token\>

### Response Status

* 200
* 400

### Response

```json
{
"drivers": [
{
"name": "modbus",
"groups": [
{
"name": "g3",
"subscribed": true
}
]
}
]
}
```

## Get Version

*GET* /api/v2/version
Expand Down
37 changes: 37 additions & 0 deletions zh_CN/api/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,43 @@ Neuron 将为 IIoT 平台提供一系列 API 服务,用于查询基本信息
}
```

## 获取组订阅状态

*GET* /api/v2/subscribes

### 请求参数

**app** 必需

**name** 可选,对南向节点名称或组名称进行过滤

### 请求头部

**Authorization** Bearer \<token\>

### 响应状态

* 200
* 400

### 响应

```json
{
"drivers": [
{
"name": "modbus",
"groups": [
{
"name": "g3",
"subscribed": true
}
]
}
]
}
```

## 获取版本信息

*GET* /api/v2/version
Expand Down