getCdnPlusPurgeHistoryList
    • PDF

    getCdnPlusPurgeHistoryList

    • PDF

    기사 요약

    개요

    CDN Purge 이력 조회

    설명

    CDN Purge 수행 결과와 이력을 조회하는 API입니다.

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    cdnInstanceNoYesString-Purge를 수행했던 대상 CDN 인스턴스 번호 입력
    purgeIdList.NNoString-Purge 요청 시 응답했던 Purge ID 정보 입력
    Purge ID 미입력 시 최근 수행한 5개의 Purge 이력 정보 확인 가능

    응답 데이터 타입

    • CdnPlusPurgeHistory 타입
    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;

    예시

    호출

    ncloud cdn getCdnPlusPurgeHistoryList --cdnInstanceNo 456400 --purgeIdList PT000000000000001026
    

    응답

    {
      "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>
    

    이 문서가 도움이 되었습니까?
    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.