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.