getGlobalCdnInstanceList
    • PDF

    getGlobalCdnInstanceList

    • PDF

    Article Summary

    Overview

    Gets a list of global CDN instances.

    Request

    Request parameters

    ParameterRequiredTypeLimitationsDescription
    cdnInstanceNoNStringCDN instance number
    pageNoNIntegerMin: 0,
    Max: 2147483647
    Page number based on the page size if the number of items is large.
    pageSizeNIntegerMin: 0,
    Max: 2147483647
    Number of items to be shown per page
    responseFormatTypeNStringJSON or XMLResponse type

    Response

    The API returns an HTTP status code indicating success or failure.

    HTTP status codeCode messageDescription
    200SuccessSucceeded
    401UnauthorizedAuthentication failed
    500Internal Server ErrorServer error

    Properties

    PropertyRequiredTypeDescription
    cdnInstanceNoNStringCDN instance number
    cdnInstanceStatusNCommonCodeCDN instance status
    cdnInstanceOperationNCommonCodeCDN instance OP
    cdnInstanceStatusNameNStringCDN instance status name
    createDateNStringCreation date
    lastModifiedDateNStringUPTIME
    cdnInstanceDescriptionNStringCDN instance description
    serviceNameNStringService name
    isAvailablePartialDomainPurgeNBoolean
    globalCdnServiceDomainListNList<GlobalCdnServiceDomain>List of global CDN service domains
    serviceDomainTypeCodeNStringService domain type code
    protocolTypeCodeNStringProtocol type code
    defaultDomainNameNStringDefault domain name
    userDomainNameNStringUser domain name
    globalCdnRuleNGlobalCdnRuleGlobal CDN settings

    Examples

    Request example

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

    Response example

    <?xml version="1.0" encoding="UTF-8"?>
    <getGlobalCdnInstanceListResponse>
      <requestId>ff7b0034-82a1-4c8f-8c9a-527a71b430e7</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <globalCdnInstanceList>
        <globalCdnInstance>
          <cdnInstanceNo>697750</cdnInstanceNo>
          <cdnInstanceStatusName>running</cdnInstanceStatusName>
          <createDate>2018-03-20T14:39:31+0900</createDate>
          <lastModifiedDate>2018-03-20T15:01:44+0900</lastModifiedDate>
          <cdnInstanceDescription></cdnInstanceDescription>
          <serviceName>gcdn-test</serviceName>
          <isAvailablePartialDomainPurge>false</isAvailablePartialDomainPurge>
          <globalCdnServiceDomainList>
            <globalCdnServiceDomain>
              <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
              <protocolTypeCode>HTTP</protocolTypeCode>
              <defaultDomainName>lwsitpepufak697750.gcdn.ntruss.com</defaultDomainName>
              <userDomainName></userDomainName>
            </globalCdnServiceDomain>
          </globalCdnServiceDomainList>
          <globalCdnRule>
            <protocolTypeCode>HTTP</protocolTypeCode>
            <serviceDomainTypeCode>DEFAULT</serviceDomainTypeCode>
            <originUrl>1.255.57.58</originUrl>
            <originPath></originPath>
            <originHttpPort>80</originHttpPort>
            <originHttpsPort>0</originHttpsPort>
            <forwardHostHeaderTypeCode>ORIGIN_HOSTNAME</forwardHostHeaderTypeCode>
            <forwardHostHeader></forwardHostHeader>
            <cacheKeyHostNameTypeCode>REQUEST_HOST_HEADER</cacheKeyHostNameTypeCode>
            <isGzipCompressionUse>true</isGzipCompressionUse>
            <cachingOptionTypeCode>CACHE_CONTROL_AND_EXPIRES</cachingOptionTypeCode>
            <isErrorContentsResponseUse>false</isErrorContentsResponseUse>
            <cachingTtlTime>604800</cachingTtlTime>
            <isQueryStringIgnoreUse>true</isQueryStringIgnoreUse>
            <isRemoveVaryHeaderUse>true</isRemoveVaryHeaderUse>
            <isLargeFileOptimizationUse>false</isLargeFileOptimizationUse>
            <gzipResponseTypeCode>ORIGIN_RESPONSE</gzipResponseTypeCode>
            <isReferrerDomainUse>false</isReferrerDomainUse>
            <referrerDomainList/>
            <isReferrerDomainRestrictUse>false</isReferrerDomainRestrictUse>
            <isSecureTokenUse>true</isSecureTokenUse>
            <secureTokenPassword>fe835ae5110388224220</secureTokenPassword>
            <isReissueSecureTokenPassword>false</isReissueSecureTokenPassword>
            <isAccessLogUse>true</isAccessLogUse>
            <accessLogFileStorageContainerName>cdnlogtest</accessLogFileStorageContainerName>
            <isRequestCustomHeaderUse>false</isRequestCustomHeaderUse>
            <requestCustomHeaderList/>
            <isResponseCustomHeaderUse>false</isResponseCustomHeaderUse>
            <responseCustomHeaderList/>
          </globalCdnRule>
        </globalCdnInstance>
      </globalCdnInstanceList>
    </getGlobalCdnInstanceListResponse>
    

    Error codes

    Error codeDescription
    29100Invalid Global CDN rule format.
    29101Cannot 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 cannot 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.
    29122Cannot 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.

    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.