getCdnPlusPurgeHistoryList
- Print
- PDF
getCdnPlusPurgeHistoryList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Get CDN Purge history
Description
Gets results and history of CDN Purge.
Request Parameters
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
cdnInstanceNo | Yes | String | CDN instance number you want to get purge results and history of. | |
purgeIdList | No | String | List of purge IDs that responded to the purge request. If this parameter is not specified, history information of recent 5 purges is displayed. |
Response Data Type
- CdnPlusPurgeHistory type
CdnPlusPurgeHistoryList extends CommonResponse |
---|
private Integer totalRows; |
private List |
cdnPlusPurgeHistory |
---|
private String cdnInstanceNo; |
private String purgeId; |
private Boolean isWholePurge; |
private Boolean isWholeDomain; |
private List |
private String targetDirectoryName; |
private List |
private Date requestDate; |
private String purgeStatusName; |
Examples
Request
ncloud cdn getCdnPlusPurgeHistoryList --cdnInstanceNo 456400 --purgeIdList PT000000000000001026
Response
{
"getCdnPlusPurgeHistoryListResponse": {
"requestId": "f8b9b457-7f59-44c2-8395-2d2634f9b118",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"cdnPlusPurgeHistoryList": [
{
"cdnInstanceNo": "456400",
"purgeId": "PT000000000000001026",
"isWholePurge": false,
"isWholeDomain": true,
"cdnPlusServiceDomainList": [
{
"domainId": "CD000000000000006581",
"serviceDomainTypeCode": "USER",
"protocolTypeCode": "HTTP",
"defaultDomainName": "piytcmfpkjvy456400.cdn.ntruss.com",
"userDomainName": "ncp-cdn.b.navercdn.com"
}
],
"targetDirectoryName": "",
"targetFileList": [
"/testfile1",
"/testfile2"
],
"requestDate": "2018-02-01T13:50:03+0900",
"purgeStatusName": "success"
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<getCdnPlusPurgeHistoryListResponse>
<requestId>f8b9b457-7f59-44c2-8395-2d2634f9b118</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cdnPlusPurgeHistoryList>
<cdnInstanceNo>456400</cdnInstanceNo>
<purgeId>PT000000000000001026</purgeId>
<isWholePurge>false</isWholePurge>
<isWholeDomain>true</isWholeDomain>
<cdnPlusServiceDomainList>
<domainId>CD000000000000006581</domainId>
<serviceDomainTypeCode>USER</serviceDomainTypeCode>
<protocolTypeCode>HTTP</protocolTypeCode>
<defaultDomainName>piytcmfpkjvy456400.cdn.ntruss.com</defaultDomainName>
<userDomainName>ncp-cdn.b.navercdn.com</userDomainName>
</cdnPlusServiceDomainList>
<targetDirectoryName></targetDirectoryName>
<targetFileList>/testfile1</targetFileList>
<targetFileList>/testfile2</targetFileList>
<requestDate>2018-02-01T13:50:03+0900</requestDate>
<purgeStatusName>success</purgeStatusName>
</cdnPlusPurgeHistoryList>
</getCdnPlusPurgeHistoryListResponse>
Was this article helpful?