MENU
      クラスタのData Import履歴を確認します

        クラスタのData Import履歴を確認します


        記事の要約

        VPC環境で利用できます。

        説明

        クラスタのData Import履歴を確認します。

        リクエスト

        リクエストURL

        GET https://vpcsearchengine.apigw.ntruss.com/api/v2/import/getDataImportHistory/{service-group-instance-no}?pageNo={pageNo}&pageSize={pageSize} [KR]
        GET https://vpcsearchengine.apigw.ntruss.com/api/sgn-v2/import/getDataImportHistory/{service-group-instance-no}?pageNo={pageNo}&pageSize={pageSize} [SGN]
        HTTP

        リクエストヘッダ

        ヘッダ名説明
        x-ncp-apigw-timestamp1970年1月1日 00:00:00 協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表し、
        API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとしてみなす
        x-ncp-apigw-timestamp:{Timestamp}
        x-ncp-iam-access-keyNAVERクラウドプラットフォームポータルから発行されたAccess Key ID値
        x-ncp-iam-access-key:{Account Access Key}
        x-ncp-apigw-signature-v2Access Key ID値とSecret Keyで暗号化した署名
        x-ncp-apigw-signature-v2:{API Gateway Signature}
        Content-TypeRequest body content typeをapplication/jsonに指定
        Content-Type: application/json

        リクエストパラメータ

        パラメータタイプ必須有無説明
        serviceGroupInstanceNoStringYData Import履歴を確認するクラスタ番号
        pageNoIntegerNページ番号Default : 1
        ex) 1, 2
        pageSizeIntegerNページサイズDefatlt : 10
        ex) 10, 20

        リクエスト例

        GET https://vpcsearchengine.apigw.ntruss.com/api/v2/import/getDataImportHistory/1714400?pageNo=1&pageSize=10
        HOST: vpcsearchengine.apigw.ntruss.com
        Content-Type: application/json
        x-ncp-apigw-signature-v2: zq0FrtlU8JZJi9esTK31bCQUNG3H+jo4CMjMkJDoWSc=
        x-ncp-apigw-timestamp: 1593848345548
        x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw
        HTTP
        curl -X GET "https://vpcsearchengine.apigw.ntruss.com/api/v2/import/getDataImportHistory/1714400?pageNo=1&pageSize=10" \
        -H "accept: application/json" \
        -H "Content-Type: application/json" \
        -H "x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw" \
        -H "x-ncp-apigw-timestamp: 1601971222179" \
        -H "x-ncp-apigw-signature-v2: zrCelnR48AADdK/uh6Xe3yy468i8KpQoewYHUmeqYh4="
        Bash

        レスポンスパラメータ

        public class GetImportHistoryListResponseVo{
            List<ImportHistoryVo> importHistoryList;
            Integer currentPage;
            Boolean isFirst;
            Boolean isLast;
            Integer pageSize;
            Long totalCount;
            Integer totalPage;
        }
        
        public class ImportHistoryVo {
               Integer serviceGroupInstanceNo;
               String clusterName;
               String importStatus;
               String bucketName;
               String objectKey;
               Integer progress;
               Date actionStartDate;
               Date actionEndDate;
        }
        Java

        フィールド

        パラメータ名タイプ説明
        importHistoryListListインポート履歴
        currentPageInteger現在のページ
        isFirstBooleanfirstページかどうか
        isLastBooleanlastページかどうか
        pageSizeIntegerページのサイズ
        totalCountLongクラスタの総リスト数
        totalPageInteger総ページ数
        serviceGroupInstanceNoIntegerクラスタ番号
        clusterNameStringクラスタ名
        importStatusStringインポート状態
        bucketNameStringバケット名
        objectKeyStringファイルパス
        progressInteger進捗状況
        actionStartDateDateインポート作業の開始時間
        actionEndDateDateインポート作業の終了時間

        レスポンス例

        {
          "code": 0,
          "message": "SUCCESS",
          "result": {
            "currentPage": 1,
            "isFirst": true,
            "isLast": true,
            "pageSize": 10,
            "totalCount": 2,
            "totalPage": 1,
            "importHistoryList": [
              {
                "serviceGroupInstanceNo": 2059506,
                "clusterName": "test-import",
                "importStatus": "complete",
                "bucketName": "test",
                "objectKey": "ses/test-import.json",
                "progress": 100,
                "actionStartDate": "2021-11-30 17:43:21",
                "actionEndDate": "2021-11-30 17:44:21"
              },
              {
                "serviceGroupInstanceNo": 2059506,
                "clusterName": "test-import",
                "importStatus": "complete",
                "bucketName": "test",
                "objectKey": "ses/test-import.json",
                "progress": 100,
                "actionStartDate": "2021-11-30 17:34:30",
                "actionEndDate": "2021-11-30 17:34:33"
              }
            ]
          },
          "requestId": "b39f8538-b177-4aa3-8231-360e424246b7"
        }
        JSON

        この記事は役に立ちましたか?

        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.