getCdnPlusPurgeHistoryList
    • PDF

    getCdnPlusPurgeHistoryList

    • PDF

    Article summary

    Overview

    Get CDN Purge history

    Description

    Gets results and history of CDN Purge.

    Request Parameters

    ParameterRequiredTypeRestrictionsDescription
    cdnInstanceNoYesStringCDN instance number you want to get purge results and history of.
    purgeIdListNoStringList 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 cdnPlusPurgeHistoryList = new ArrayList();
    cdnPlusPurgeHistory
    private String cdnInstanceNo;
    private String purgeId;
    private Boolean isWholePurge;
    private Boolean isWholeDomain;
    private List cdnPlusServiceDomainList;
    private String targetDirectoryName;
    private List targetFileList;
    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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.