GetIntegrationList
    • PDF

    GetIntegrationList

    • PDF

    記事の要約

    概要

    Integrationリストを照会します。

    リクエスト

    API URL

    URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/integration/page
    Method: POST
    

    リクエストヘッダ

    共通設定に明示されたリクエストヘッダが必要です。

    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    

    リクエストボディ

    パラメータ名要否タイプ制約事項説明
    pageNumYIntegerMin: 1ページ番号
    pageSizeYIntegerMin: 1ページサイズ
    queryYString照会キーワード

    リクエスト例

    以下は、名前に testが含まれている Integrationリストを照会する例です。

    POST /cw_fea/real/cw/api/integration/page
    Host: cw.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: {generated signature}
    x-ncp-apigw-timestamp: {current timestamp}
    x-ncp-iam-access-key: {your iam access key}
    
    Payload:
    {
      "query": "test",
      "pageNum": 1,
      "pageSize": 20
    }
    

    レスポンス例

    エラーなく照会が完了した場合、HTTP code 200と一緒に Integrationのリストが返されます。

    {
      "data": [
        {
          "headers": {
            "content-type": "application/json; charset=utf-8"
          },
          "id": "111",
          "name": "event test",
          "payload": "{\n\t\"text\": \"#{DOMAIN_CODE} => #{RULE_NAME} 's event is #{EVENT_STATUS}. The condition is #{RESOURCE_NAME} 's #{DIMENSIONS} #{METRIC} #{OPERATOR} #{CRITERIA}. The current value is #{VALUE}\"\n}",
          "type": "OUT_GOING",
          "updateTime": 1682667085590,
          "url": "https://url"
        },
        {
          "headers": {
            "content-type": "application/json; charset=utf-8"
          },
          "id": "222",
          "name": "event test2",
          "payload": "{\n\t\"text\": \"#{DOMAIN_CODE} => #{RULE_NAME} 's event is #{EVENT_STATUS}. The condition is #{RESOURCE_NAME} 's #{DIMENSIONS} #{METRIC} #{OPERATOR} #{CRITERIA}. The current value is #{VALUE}\"\n}",
          "type": "OUT_GOING",
          "updateTime": 1682667085590,
          "url": "https://url"
        }
      ],
      "pageNum": 1,
      "pageSize": 20,
      "totalPages": 1,
      "totalRecords": 2
    }
    

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

    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.