Application
列出事件
列出事件
GET /application/v1/workers/{worker_id}/events
List lifecycle events of a Worker in sequence order.
支持状态: supported
参数
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
| worker_id | path | string | true | Worker ID (wkr_…). |
| after_seq | query | integer | false | Return events after this sequence number. |
| limit | query | integer | false | Items per page. |
响应
HTTP 200
Success
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| data | array<object> | Events in sequence order. |
| data[].seq | integer | Monotonic sequence within the Worker. |
| data[].id | string | Event ID. |
| data[].type | string | Event type, e.g. deployment.status_active. |
| data[].processed_at | string | When the event was recorded. |
| data[].worker_id | string | Worker the event belongs to. |
| data[].version_id | string | Related version. |
| data[].deployment_id | string | Related deployment. |
| data[].component_id | string | Related component. |
| data[].detail | object | Event-specific detail. |
| next_cursor | string | null | Cursor for the next page; null on the last page. |