所有 Endpoints
GET /api/v4
返回 EMQ X 支持的所有 Endpoints。
Parameters: 无
Success Response Body (JSON):
Name | Type | Description |
---|---|---|
code | Integer | 0 |
data | Array | Endpoints 列表 |
- data[0].path | String | Endpoint |
- data[0].name | String | Endpoint 名 |
- data[0].method | String | HTTP Method |
- data[0].descr | String | 描述 |
Examples:
$ curl -i --basic -u admin:public -X GET "http://localhost:8081/api/v4"
{"data":[{"path":"/auth_clientid","name":"list_clientid","method":"GET","descr":"List available clientid in the cluster"}, ...],"code":0}