Application
列出版本
列出版本
GET /application/v1/workers/{worker_id}/versions
List the versions of a Worker, newest first, to pick one to deploy or inspect. Page with next_cursor.
支持状态: supported
参数
| 名称 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
| worker_id | path | string | true | Worker ID (wkr_…). |
| cursor | query | string | false | next_cursor from the previous page. |
| limit | query | integer | false | Items per page. |
响应
HTTP 200
Success
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| data | array<object> | Versions, newest first. |
| data[].id | string | Version ID, prefixed ver_. |
| data[].number | integer | Per-Worker counter (v1, v2, …). |
| data[].created_on | string | When the version was created. |
| data[].main_module | string | null | Entry module name, or null for a version containing only static assets. |
| data[].modules | array<object> | Module names and types; content is never returned. |
| data[].compatibility_date | string | Workers runtime compatibility date. |
| data[].compatibility_flags | array<string> | Runtime compatibility flags. |
| data[].bindings | array<object> | Bindings; secret values are never returned. |
| data[].assets | object | null | Static asset settings. |
| data[].annotations | object | Free-form annotations. |
| data[].author_id | string | null | Who created the version. |
| data[].source | string | Upload origin, e.g. api or sdk. |
| data[].urls | array<string> | Preview URLs of this version. |
| data[].praxis | object | Platform fields: owning Worker, build source, script size and asset manifest summary. |
| next_cursor | string | null | Cursor for the next page; null on the last page. |