开放接口

/v1/sites

25 个接口

← 全部分组

方法路径摘要认证
GET/v1/sitesList websites visible in the authenticated scope登录会话
POST/v1/sitesCreate a website登录会话
POST/v1/sites/batch-actionEnable, disable, soft-delete, or queue CNAME regeneration for websites登录会话
GET/v1/sites/exportExport an immutable snapshot of site domains登录会话
GET/v1/sites/{id}Get one website and its basic settings登录会话
PATCH/v1/sites/{id}Replace the complete basic or origin settings section登录会话
DELETE/v1/sites/{id}Soft-delete a website登录会话
POST/v1/sites/{id}/lockLock a website against tenant writes登录会话
POST/v1/sites/{id}/origin-failbackSwitch the pool back to the highest healthy level (manual failback)登录会话
GET/v1/sites/{id}/origin-routingGet the normalized conditional origin-routing document登录会话
PUT/v1/sites/{id}/origin-routingReplace the complete conditional origin-routing document登录会话
GET/v1/sites/{id}/origin-statusOrigin pool probe state and the active origin level登录会话
GET/v1/sites/{id}/schedule302Get the site's HTTP 302 scheduling settings登录会话
PUT/v1/sites/{id}/schedule302Replace the site's HTTP 302 scheduling settings登录会话
POST/v1/sites/{id}/unlockRestore tenant write access to a website登录会话
GET/v1/sites/{site_id}/accessGet a site's request handling settings登录会话
PUT/v1/sites/{site_id}/accessReplace a site's request handling settings登录会话
GET/v1/sites/{site_id}/certificate-bindingGet the active certificate binding for one site登录会话
POST/v1/sites/{site_id}/dns-reconcile/applyPersist and enqueue a DNS reconciliation task登录会话
POST/v1/sites/{site_id}/dns-reconcile/dry-runBuild a deterministic repair plan without provider side effects登录会话
GET/v1/sites/{site_id}/dns-reconcile/tasks/{task_id}Read one durable DNS reconciliation task登录会话
POST/v1/sites/{site_id}/dns-reconcile/tasks/{task_id}/cancelPersist a cancellation request for a DNS reconciliation task登录会话
POST/v1/sites/{site_id}/dns-reconcile/tasks/{task_id}/commitDelete superseded records after propagation is healthy登录会话
GET/v1/sites/{site_id}/traffic-limitRead a website's traffic caps and their enforcement (sites.read)登录会话
PUT/v1/sites/{site_id}/traffic-limitReplace a website's traffic caps (sites.manage)登录会话

契约文件:api/openapi/v1/sites.yaml api/control-site-access.openapi.yaml api/control-certificate-assets.openapi.yaml api/control-dns-reconcile.openapi.yaml api/control-site-traffic-limit.openapi.yaml