MENU
      View snapshot schedule creation history

        View snapshot schedule creation history


        Article summary

        Available in VPC

        View snapshot schedule creation history.

        Request

        Request URL

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

        Request header

        Header nameDescription
        x-ncp-apigw-timestampIt indicates the time elapsed since January 1, 1970 00:00:00 UTC in milliseconds.
        If the time difference compared to the API Gateway server is more than 5 minutes, then the request is considered invalid.
        x-ncp-apigw-timestamp:{Timestamp}
        x-ncp-iam-access-keyValue of access key ID issued on the NAVER Cloud Platform portal
        x-ncp-iam-access-key:{Account Access Key}
        x-ncp-apigw-signature-v2Signature encrypted with the access key ID value and secret key
        x-ncp-apigw-signature-v2:{API Gateway Signature}
        Content-TypeIt specifies the request body content type as application/json.
        Content-Type: application/json

        Request parameters

        ParameterTypeRequirement statusDescription
        serviceGroupInstanceNoStringYCluster number where you want to view the snapshot schedule settings history
        pageNoIntegerNPage number Default : 1
        ex) 1, 2
        pageSizeIntegerNPage sizeDefatlt : 10
        ex) 10, 20

        Request examples

        GET https://vpcsearchengine.apigw.ntruss.com/api/v2/snapshot/getSnapshotSchedulingHistory/1531843
        ?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/snapshot/getSnapshotSchedulingHistory/1531843
        ?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

        Response parameters

        public class GetSnapshotSchedulingHistoryResponseVo {
            List<SnapshotSchedulingHistoryResponseVo> snapshotSchedulingHistoryList;
            private Integer currentPage;
            private Boolean isFirst;
            private Boolean isLast;
            private Integer pageSize;
            private Long totalCount;
            private Integer totalPage;
        }
        
        public class SnapshotSchedulingHistoryResponseVo {
            private String bucketName;
            private String snapshotName;
            private String snapshotSchedulingStatus;
            private String snapshotSchedulingSetUpDay;
            private String snapshotSchedulingSetUpTime;
            private LocalDateTime snapshotSchedulingConfigSetUpDate;
         }
        Java

        Field

        Parameter nameTypeDescription
        snapshotSchedulingHistoryListListSnapshot scheduling history
        currentPageIntegerCurrent page
        isFirstBooleanWhether it is the first page
        isLastBooleanWhether it is the last page
        pageSizeIntegerPage size
        totalCountLongTotal number of cluster's lists
        totalPageIntegerTotal number of pages
        bucketNameStringBucket name
        snapshotNameStringSnapshot name
        snapshotSchedulingStatusStringSnapshot scheduling status
        snapshotSchedulingSetUpDayStringDay when the snapshot schedule is to run
        snapshotSchedulingSetUpTimeStringTime when the snapshot schedule is to run
        snapshotSchedulingConfigSetUpDateLocalDateTimeDate when the snapshot schedule is set

        Response examples

        {
          "code": 0,
          "message": "SUCCESS",
          "result": {
            "currentPage": 1,
            "isFirst": true,
            "isLast": true,
            "pageSize": 10,
            "totalCount": 2,
            "totalPage": 1,
            "snapshotSchedulingHistoryList": [
              {
                "bucketName": "es-test",
                "snapshotName": "scheduling",
                "snapshotSchedulingStatus": "enable",
                "snapshotSchedulingSetUpDay": "Monday",
                "snapshotSchedulingSetUpTime": "14:00",
                "snapshotSchedulingConfigSetUpDate": "2022-03-03 14:01:11"
              },
              {
                "bucketName": "es-test",
                "snapshotName": "my-scheduling",
                "snapshotSchedulingStatus": "disable",
                "snapshotSchedulingSetUpDay": "Everyday",
                "snapshotSchedulingSetUpTime": "00:00",
                "snapshotSchedulingConfigSetUpDate": "2022-03-03 14:00:26"
              }
            ]
          },
          "requestId": "1a192b1f-40f2-4b10-af29-b039dc27b046"
        }
        JSON

        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.