pns.devices.user.{username}.app.{bundleId}
返回用户在指定App注册的所有设备
- 请求路由:
pns.devices.user.{username}.app.{bundleId}- 交互模型:
Request Stream- 访问限制: 无
请求
RSocket.rs({
"route" : "pns.devices.user.18900010001%40mzd.app.com%2Easpiretop%2Ecom%2Ecbv%2Edriver"
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
bundleId | String | 是 | 移动应用的bundleId |
username | String | 是 | 用户名 |
返回
设备列表
[
{
"id" : "com.aspiretop.com.cbv.driver:18171adc0205686907e",
"pushToken" : "18171adc0205686907e",
"bundleId" : "com.aspiretop.com.cbv.driver",
"username" : "18900010001@mzd",
"deviceInfo" : "iOS:iPhone16,000000000-0000-0000-0000-000000000000",
"upDate" : "2024-05-30T01:51:25.375798Z",
"crData" : "2024-05-30T01:51:25.375798Z"
}
]
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
id | String | 设备标识 |
pushToken | String | 设备推送token |
bundleId | String | 应用bundleId |
username | String | 关联用户 |
deviceInfo | String | 设备信息 |
extraProps | Object | 扩展属性 |
tenantId | String | 租户ID |