본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Kong 응답 크기 제한 플러그인 구성 레퍼런스

원문 보기 위키 갱신

Kong 응답 크기 제한 플러그인 구성 레퍼런스 (Kong Response Size Limiting Plugin Configuration Reference)

이 문서는 Kong의 Response Size Limiting 플러그인 설정에 쓰이는 파라미터를 JSON 스키마 형태로 정리한 구성 참고 자료예요

출처: 문서

본문

{
  "properties": {
    "config": {
      "properties": {
        "allowed_payload_size": {
          "default": 128,
          "description": "Allowed upstream response payload size in megabytes, default is `128` (128000000 Bytes)",
          "type": "number"
        }
      },
      "required": [],
      "type": "object"
    },
    "consumer": {
      "additionalProperties": false,
      "description": "If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "route": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    },
    "service": {
      "additionalProperties": false,
      "description": "If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "required": [],
      "type": "object"
    }
  },
  "required": []
}

더 알아보기 (Learn more)

이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.