このページは、まだ日本語ではご利用いただけません。翻訳中です。
古いプラグインバージョンのドキュメントを閲覧しています。
構成
このプラグインはDBレスモードに対応しています。
互換性のあるプロトコル
Response Transformer Advancedプラグインは以下のプロトコルに対応しています:
 grpc, grpcs, http, https
パラメータ
このプラグインの設定で使用できるすべてのパラメータのリストは次のとおりです。
- 
    name or pluginstring requiredプラグイン名。この場合は response-transformer-advanced。- Kong Admin API、Kong Konnect API、宣言型構成、または decK ファイルを使用する場合、フィールドはnameです。
- Kubernetes で KongPlugin オブジェクトを使用する場合、フィールドはpluginです。
 
- Kong Admin API、Kong Konnect API、宣言型構成、または decK ファイルを使用する場合、フィールドは
- 
      instance_namestringプラグインのインスタンスを識別するための任意のカスタム名 (例: response-transformer-advanced_my-service。インスタンス名はKong ManagerとKonnectに表示されるので、 例えば複数のサービスで同じプラグインを複数のコンテキストで実行する場合に便利です。また、Kong Admin API経由で特定のプラグインインスタンスに アクセスするためにも使用できます。 インスタンス名は、次のコンテキスト内で一意である必要があります。 - Kong Gateway Enterpriseのワークスペース内
- Konnectのコントロールプレーン(CP)またはコントロールプレーン(CP)グループ内
- Kong Gateway (OSS)の全世界
 
- 
      service.name or service.idstringプラグインが対象とするサービス名または ID。最上位の /pluginsエンドポイント. からプラグインをサービスに追加する場合は、これらのパラメータのいずれかを設定してください/services/{serviceName|Id}/pluginsを使用する場合は必要ありません。
- 
      route.name or route.idstringプラグインがターゲットとするルート名または ID。最上位の /pluginsエンドポイント. を通るルートにプラグインを追加する場合は、これらのパラメータのいずれかを設定してください/routes/{routeName|Id}/pluginsを使用する場合は必要ありません。
- 
      consumer.name or consumer.idstringプラグインがターゲットとするコンシューマーの名前または ID。 最上位の /pluginsエンドポイント. からコンシューマーにプラグインを追加する場合は、これらのパラメーターのいずれかを設定してください/consumers/{consumerName|Id}/pluginsを使用する場合は必要ありません。
- 
      consumer_group.name or consumer_group.idstringプラグインが対象とするコンシューマグループの名前または ID。 設定されている場合、プラグインは指定されたグループが認証されているリクエストに対してのみアクティブになります /pluginsエンドポイント./consumer_groups/{consumerGroupName|Id}/pluginsを使用する場合は必要ありません。
- 
    enabledboolean default:trueこのプラグインが適用されるかどうか。 
- 
  configrecord required- 
  removerecord required- 
  jsonarray of typestring
 - 
  headersarray of typestring
 - 
  if_statusarray of typestring
 
- 
  
 - 
  renamerecord required- 
  headersarray of typestring
 - 
  if_statusarray of typestring
 
- 
  
 - 
  replacerecord required- 
  bodystringString with which to replace the entire response body. 
 - 
  jsonarray of typestring
 - 
  json_typesarray of typestringMust be one of:boolean,number,string
 - 
  headersarray of typestring
 - 
  if_statusarray of typestring
 
- 
  
 - 
  addrecord required- 
  jsonarray of typestring
 - 
  json_typesarray of typestringMust be one of:boolean,number,string
 - 
  headersarray of typestring
 - 
  if_statusarray of typestring
 
- 
  
 - 
  appendrecord required- 
  jsonarray of typestring
 - 
  json_typesarray of typestringMust be one of:boolean,number,string
 - 
  headersarray of typestring
 - 
  if_statusarray of typestring
 
- 
  
 - 
  allowrecord required- 
  jsonset of typestring
 
- 
  
 - 
  transformrecord required- 
  functionsarray of typestring
 - 
  if_statusarray of typestring
 - 
  jsonarray of typestring
 
- 
  
 - 
  dots_in_keysboolean default:trueWhether dots (for example, customers.info.phone) should be treated as part of a property name or used to descend into nested JSON objects..
 
- 
  
 
                      