GET /push/subscriptions/{subscription_id}
根据ID查询 Web Push 订阅详情
通知服务 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
subscription_id |
path |
string |
是 |
|
|
|
订阅ID |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-notification/internal/handler/dto.PushSubscriptionDetailResponse
service-notification/internal/handler/dto.PushSubscriptionResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
created_at |
string |
否 |
2026-05-12T12:00:00Z |
|
|
device_name |
string |
否 |
Chrome on Windows |
|
|
device_type |
string |
否 |
web |
|
|
endpoint |
string |
否 |
https://fcm.googleapis.com/fcm/send/... |
|
|
id |
string |
否 |
sub-abc123 |
|
|