获取失效详情¶
GET /prod-api/acdn/cloudfrontRest/getInvalidation
Request Parameters¶
Name | Location | Type | Required | Description |
---|---|---|---|---|
distributionId | query | integer | Yes | Distribution ID |
id | query | string | Yes | Invalidation ID |
Authorization | header | string | Yes | none |
Response Example
Success
{
"msg": "Operation Success",
"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
Response Results¶
Status Code | Status Meaning | Description | Data Model |
---|---|---|---|
200 | [OK] | Success | Inline |
401 | [Unauthorized] | Unauthorized | Inline |
403 | [Forbidden] | Forbidden | Inline |
404 | [Not Found] | Not Found | Inline |
Response Data Structure¶
Status Code 200
Name | Type | Required | Constraints | Chinese Name | Description |
---|---|---|---|---|---|
» msg | string | true | none | none | |
» code | integer | true | none | none | |
» data | object | true | none | none | |
»» id | string | true | none | Invalidation ID | none |
»» status | string | true | none | Status | Completed:Completed InProgress:InProgress |
»» createTime | string | true | none | Creation time | none |
»» invalidationBatch | object | true | none | Object path | none |
»»» paths | object | true | none | none | |
»»»» quantity | integer | true | none | none | |
»»»» items | [string] | true | none | none | |
»»» callerReference | string | true | none | none |