CDN Purge 이력 조회
    • PDF

    CDN Purge 이력 조회

    • PDF

    기사 요약

    개요

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

    요청

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    cdnInstanceNoYesStringCDN+ 인스턴스 번호
    purgeIdList.NNoList<String>- 퍼지 ID 리스트
    특정 퍼지 ID 의 결과를 조회할 때 사용
    ex) purgeIdList.1=4adf60fe-9a78-11ea-ad28-53ed5947c29c&purgeIdList.2=53caca78-9a78-11ea-ac15-ad144c57b203
    responseFormatTypeNoStringJSON 또는 XML응답 타입

    응답

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

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

    속성

    항목필수 여부타입설명
    cdnInstanceNoNoStringCDN+ 인스턴스 번호
    purgeIdNoString퍼지 ID
    isWholePurgeNoBoolean전체 퍼지 여부
    isWholeDomainNoBoolean전체 도메인 퍼지 여부
    globalCdnServiceDomainListNoList<GlobalCdnServiceDomain>Global CDN 서비스 도메인 리스트
    serviceDomainTypeCodeNoString서비스 도메인 구분 코드
    protocolTypeCodeNoString프로토콜 구분 코드
    defaultDomainNameNoString디폴트 도메인 이름
    userDomainNameNoString유저 도메인 이름
    targetFileListNoList<String>대상 파일 리스트
    estimatedCompletionDateNoString예상 완료 날짜
    isSuccessNoBoolean성공 여부
    requestDateNoString요청 날짜

    예시

    요청 예시

    https://ncloud.apigw.gov-ntruss.com/cdn/v2/getGlobalCdnPurgeHistoryList?cdnInstanceNo=697750&responseFormatType=XML
    

    응답 예시

    <?xml version="1.0" encoding="UTF-8"?>
    <getGlobalCdnPurgeHistoryListResponse>
      <requestId>20ccbf20-e79e-4e0d-b7c1-4a327395ee17</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <globalCdnPurgeHistoryList>
        <globalCdnPurgeHistory>
          <cdnInstanceNo>697750</cdnInstanceNo>
          <purgeId>ed2b6b63-fb0b-11e8-bd53-196c5d109cd0</purgeId>
          <isWholePurge>true</isWholePurge>
          <isWholeDomain>true</isWholeDomain>
          <globalCdnServiceDomainList>
            <globalCdnServiceDomain>
              <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
              <protocolTypeCode>HTTP</protocolTypeCode>
              <defaultDomainName>lwsitpepufak697750.gcdn.ntruss.com</defaultDomainName>
              <userDomainName></userDomainName>
            </globalCdnServiceDomain>
          </globalCdnServiceDomainList>
          <targetFileList/>
          <estimatedCompletionDate>2018-12-09T02:12:46+0900</estimatedCompletionDate>
          <isSuccess>true</isSuccess>
          <requestDate>2018-12-09T02:08:46+0900</requestDate>
        </globalCdnPurgeHistory>
      </globalCdnPurgeHistoryList>
    </getGlobalCdnPurgeHistoryListResponse>
    

    에러 코드

    Error 코드설명
    29100Invalid Global CDN rule format.
    29101Can not operate this Global CDN service. Please check status.
    29102Invalid Global CDN purge request.
    29103Invalid Global CDN service domain type code.
    29104Please enter Forward Host Header.
    29105Invalid Origin server.
    29106Invalid Origin server ports.
    29107Invalid Origin File Storage.
    29108Please enter Referrer Domain.
    29109Invalid service name.
    29110Please enter service domain.
    29111Invalid service domain.
    29112Invalid Global CDN instance.
    29113Only HTTP protocol is allowed when Origin is File Storage.
    29114This domain can not set as origin.
    29115For HTTPS protocol, only CDN domain can be set.
    29116An error occurred in purge request.
    29117Invalid origin path.
    29118Invalid referrer domain.
    29119Invalid rule for access log.
    29120Invalid Forward Host Header.
    29121Referrer Domains can be added up to 50.
    29122Can not request purge for the CDN service. Please check status.
    29123The purge function can only be used after about 3 hours after the creation request is made.
    29124There is an error in the service domain name entered during the purge request.

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

    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.