MENU
      SearchEventCountConsole

        SearchEventCountConsole


        記事の要約

        Classic/VPC環境で利用できます。

        Event発生回数を照会します。

        リクエスト

        リクエスト形式を説明します。リクエスト形式は次の通りです。

        メソッドURI
        POST/cw_fea/real/cw/api/event/searchEventCountConsole

        リクエストヘッダ

        Cloud Insight APIで共通して使用されるヘッダの詳細は、Cloud Insightのリクエストヘッダをご参照ください。

        リクエストボディ

        リクエストボディの説明は次の通りです。

        フィールドタイプ必須の有無説明
        startTimeIntegerRequired照会開始日時(ミリ秒)
        • Unix Timestamp形式
        endTimeIntegerRequired照会終了日時(ミリ秒)
        • Unix Timestamp形式

        リクエスト例

        リクエストのサンプルコードは次の通りです。

        curl --location --request POST 'https://cw.apigw.ntruss.com/cw_fea/real/cw/api/event/searchEventCountConsole' \
        --header 'x-ncp-apigw-timestamp: {Timestamp}' \
        --header 'x-ncp-iam-access-key: {Access Key}' \
        --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
        --header 'Content-Type: application/json' \
        --data '{
            "startTime": 1702867200,
            "endTime": 1702870800
        }'
        Shell

        レスポンス

        レスポンス形式を説明します。

        レスポンスボディ

        レスポンスボディの説明は次の通りです。

        フィールドタイプ必須の有無説明
        closedRecordsInteger-処理終了した Event数
        openRecordsInteger-処理待ち中の Event数
        totalRecordsInteger-Eventの総数

        レスポンスステータスコード

        NAVERクラウドプラットフォームで共通して使用されるレスポンスステータスコードの詳細は、Cloud Insight APIのレスポンスステータスコードをご参照ください。

        レスポンス例

        レスポンスのサンプルコードは次の通りです。

        {
            "closedRecords": 19,
            "openRecords": 5,
            "totalRecords": 24
        }
        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.