| 方法 | 路径 | 摘要 | 认证 |
|---|---|---|---|
| GET | /v1/admin/packages | List and filter package products | 登录会话 |
| POST | /v1/admin/packages | Create a versioned package product | 登录会话 |
| GET | /v1/admin/packages/{id} | Get one active package product | 登录会话 |
| PATCH | /v1/admin/packages/{id} | Replace a package specification, including enable or disable state | 登录会话 |
| DELETE | /v1/admin/packages/{id} | Soft-delete a package product | 登录会话 |
| GET | /v1/admin/packages/{id}/cname-sync/{job_id} | Progress of the sync of a package CNAME change to its sold subscriptions | 登录会话 |
| POST | /v1/admin/packages/{id}/cname-sync/{job_id}/retry | Retry a failed package CNAME sync with the caller's session | 登录会话 |
| POST | /v1/admin/packages/{id}/publish | Publish the current immutable package product revision | 登录会话 |
| POST | /v1/admin/packages/{id}/withdraw | Withdraw the exact immutable package revision named by If-Match | 登录会话 |
| GET | /v1/admin/packages/{product_id}/escalate-policy | Read a package's attack escalation policy | 登录会话 |
| PUT | /v1/admin/packages/{product_id}/escalate-policy | Write a package's B/C line groups, Cloudflare and blackhole switches and threshold ranges | 登录会话 |
契约文件:api/openapi/v1/control.yaml api/control-escalate.openapi.yaml