CDN Purge 이력 조회
    • PDF

    CDN Purge 이력 조회

    • PDF

    기사 요약

    개요

    CDN+ 퍼지 기록을 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    cdnInstanceNoYesStringCDN 인스턴스 번호
    purgeIdList.NNoList<String>- 퍼지 ID 리스트
    특정 퍼지 ID 의 결과를 조회할 때 사용
    ex) purgeIdList.1=PT000000000000002152&purgeIdList.2=PT000000000000002166
    responseFormatTypeNoStringJSON 또는 XML응답 타입

    응답

    모든 응답은 HTTP Status Code으로 성공/실패를 반환합니다.

    HTTP 상태 코드코드 메시지설명
    200Success조회 성공
    401Unauthorized인증 실패
    500Internal Server Error서버 오류

    속성

    항목필수 여부타입설명
    cdnInstanceNoNoStringCDN 인스턴스 번호
    purgeIdNoString퍼지 ID
    isWholePurgeNoBoolean전체 퍼지 여부
    isWholeDomainNoBoolean전체 도메인 퍼지 여부
    cdnPlusServiceDomainListNoList<CdnPlusServiceDomain>CDN+ 서비스 도메인 리스트
    domainIdNoString도메인 ID
    serviceDomainTypeCodeNoString서비스 도메인 구분코드
    protocolTypeCodeNoString프로토콜 구분코드
    defaultDomainNameNoString디폴트 도메인 이름
    userDomainNameNoString유저 도메인 이름
    targetDirectoryNameNoString대상 디렉터리명
    targetFileListNoList<String>대상 파일 리스트
    requestDateNoString요청날짜
    purgeStatusNameNoString퍼지 상태

    예시

    요청 예시

    https://fin-ncloud.apigw.fin-ntruss.com/cdn/v2/getCdnPlusPurgeHistoryList?cdnInstanceNo=2391364&responseFormatType=XML
    

    응답 예시

    <?xml version="1.0" encoding="UTF-8"?>
      <getCdnPlusPurgeHistoryListResponse>
        <requestId>57b19b16-2de0-4ac9-ab51-4372d0eb5f6f</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>3</totalRows>
        <cdnPlusPurgeHistoryList>
          <cdnPlusPurgeHistory>
            <cdnInstanceNo>2391364</cdnInstanceNo>
            <purgeId>PT000000000000002640</purgeId>
            <isWholePurge>true</isWholePurge>
            <isWholeDomain>true</isWholeDomain>
            <cdnPlusServiceDomainList>
              <cdnPlusServiceDomain>
                <domainId>CD000000000000016522</domainId>
                <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
                <protocolTypeCode>HTTPS</protocolTypeCode>
                <defaultDomainName>gpxwapfigdom2391364.cdn.beta.ntruss.com</defaultDomainName>
                <userDomainName>
                </userDomainName>
              </cdnPlusServiceDomain>
            </cdnPlusServiceDomainList>
            <targetDirectoryName>
            </targetDirectoryName>
            <targetFileList/>
            <requestDate>2022-07-20T21:11:31+0900</requestDate>
            <purgeStatusName>success</purgeStatusName>
          </cdnPlusPurgeHistory>
          <cdnPlusPurgeHistory>
            <cdnInstanceNo>2391364</cdnInstanceNo>
            <purgeId>PT000000000000002639</purgeId>
            <isWholePurge>true</isWholePurge>
            <isWholeDomain>true</isWholeDomain>
            <cdnPlusServiceDomainList>
              <cdnPlusServiceDomain>
                <domainId>CD000000000000016522</domainId>
                <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
                <protocolTypeCode>HTTPS</protocolTypeCode>
                <defaultDomainName>gpxwapfigdom2391364.cdn.beta.ntruss.com</defaultDomainName>
                <userDomainName>
                </userDomainName>
              </cdnPlusServiceDomain>
            </cdnPlusServiceDomainList>
            <targetDirectoryName>
            </targetDirectoryName>
            <targetFileList/>
            <requestDate>2022-07-20T21:09:45+0900</requestDate>
            <purgeStatusName>success</purgeStatusName>
          </cdnPlusPurgeHistory>
          <cdnPlusPurgeHistory>
            <cdnInstanceNo>2391364</cdnInstanceNo>
            <purgeId>PT000000000000002635</purgeId>
            <isWholePurge>false</isWholePurge>
            <isWholeDomain>true</isWholeDomain>
            <cdnPlusServiceDomainList>
              <cdnPlusServiceDomain>
                <domainId>CD000000000000016522</domainId>
                <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
                <protocolTypeCode>HTTPS</protocolTypeCode>
                <defaultDomainName>gpxwapfigdom2391364.cdn.beta.ntruss.com</defaultDomainName>
                <userDomainName>
                </userDomainName>
              </cdnPlusServiceDomain>
            </cdnPlusServiceDomainList>
            <targetDirectoryName>
            </targetDirectoryName>
            <targetFileList>
              <string>/01.jpg</string>
              <string>/02.jpg</string>
              <string>/03.jpg</string>
            </targetFileList>
            <requestDate>2022-07-20T18:48:50+0900</requestDate>
            <purgeStatusName>success</purgeStatusName>
          </cdnPlusPurgeHistory>
        </cdnPlusPurgeHistoryList>
      </getCdnPlusPurgeHistoryListResponse>
    

    오류 코드

    Error 코드설명
    29200Invalid CDN rule.
    29201Can not operate this CDN service. Please check status.
    29202Invalid CDN purge request.
    29203Invalid CDN service domain type code.
    29204Invalid CDN instance.
    29205Unable to control the CDN service because this CDN service is for Live Transcoder.
    29211An error occurred while creating CDN service.
    29215This CDN service can not request purge with partial domains.
    29216Invalid CDN service domain.
    29209The certificate can not register for CDN.
    29217Please enter target file list or directory.
    29218Please select target service domains.
    29221Unable to control the CDN service because this CDN service is for Image Optimizer.
    29222Invalid image optimizer instance number.
    29223Cache Key Hostname can not be set Origin Hostname if there is only one service domain.
    29224Cache Key Hostname can not be set Origin Hostname if use CDN domain.

    이 문서가 도움이 되었습니까?

    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.