获取失效详情¶
GET /prod-api/acdn/cloudfrontRest/getInvalidation
请求参数¶
| 名称 | 位置 | 类型 | 必选 | 说明 |
|---|---|---|---|---|
| distributionId | query | integer | 是 | 分配ID |
| id | query | string | 是 | 失效ID |
| Authorization | header | string | 是 | none |
返回示例
成功
{
"msg": "操作成功",
"code": 200,
"data": {
"id": "IY1234567895OIKHW0D",
"status": "Completed",
"createTime": "2024-01-19T14:11:15.210+08:00",
"invalidationBatch": {
"paths": {
"quantity": 4,
"items": [
"/v6.6.0/iOS/catalog_sgbxd_ios_kojp.hash"
]
},
"callerReference": "1705644668007"
}
}
}
401 Response
返回结果¶
| 状态码 | 状态码含义 | 说明 | 数据模型 |
|---|---|---|---|
| 200 | [OK] | 成功 | Inline |
| 401 | [Unauthorized] | Unauthorized | Inline |
| 403 | [Forbidden] | Forbidden | Inline |
| 404 | [Not Found] | Not Found | Inline |
返回数据结构¶
状态码 200
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » msg | string | true | none | none | |
| » code | integer | true | none | none | |
| » data | object | true | none | none | |
| »» id | string | true | none | 失效ID | none |
| »» status | string | true | none | 状态 | Completed:完成 InProgress:正在进行中 |
| »» createTime | string | true | none | 创建时间 | none |
| »» invalidationBatch | object | true | none | 对象路径 | none |
| »»» paths | object | true | none | none | |
| »»»» quantity | integer | true | none | none | |
| »»»» items | [string] | true | none | none | |
| »»» callerReference | string | true | none | none |