获取空间API密钥(List Channel API Keys)接口是用来查询指定空间(channel)下所有的API密钥。
https://webapi.ubibot.cn/channels/CHANNEL_ID/api_keys?action=list
将CHANNEL_ID替换成空间编号。
HTTP GET
| 名称 | 类型 | 是否必须 | 描述 |
| account_key | String | 必须 | 账户的account_key密钥 |
正常情况下,平台所返回JSON数据包形式如下:
{“
result”: ”success”,
”server_time”: ”2017 - 09 - 04 T08: 23: 16 Z”,
”write_key”: ”XXX5af4b4e43b2xxx30f584XX587″,
”read_keys”: [{“
read_key”: ”5972 XXX478bd4xxf3d0X28a9X”,
”note”: null,
”created_at”: ”2017 - 09 - 04 T05: 49: 37 Z”,
”updated_at”: ”2017 - 09 - 04 T05: 49: 37 Z”
}]
}