Skip to content

Commit

Permalink
docs: update pipeline type of batch requests plugin (apache#7632)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazel6869 authored and Liu-Junlin committed Nov 4, 2022
1 parent 3b03914 commit a9575db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions docs/en/latest/plugins/batch-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ This plugin will create an API endpoint in APISIX to handle batch requests.

### Request

| Name | Type | Required | Default | Description |
| -------- | --------------------------- | -------- | ------- | ----------------------------- |
| query | object | False | | Query string for the request. |
| headers | object | False | | Headers for all the requests. |
| timeout | integer | False | 30000 | Timeout in ms. |
| pipeline | [HttpRequest](#httprequest) | True | | Details of the request. |
| Name | Type | Required | Default | Description |
| -------- |------------------------------------| -------- | ------- | ----------------------------- |
| query | object | False | | Query string for the request. |
| headers | object | False | | Headers for all the requests. |
| timeout | integer | False | 30000 | Timeout in ms. |
| pipeline | array[[HttpRequest](#httprequest)] | True | | Details of the request. |

#### HttpRequest

Expand Down
12 changes: 6 additions & 6 deletions docs/zh/latest/plugins/batch-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ curl http://127.0.0.1:9080/apisix/admin/plugin_metadata/batch-requests \

### 请求参数

| 参数名 | 类型 | 必选项 | 默认值 | 描述 |
| -------- | --------------------------- | ------ | ------ | -------------------------------- |
| query | object | 否 | | 给所有请求都携带的 `query string`。 |
| headers | object | 否 | | 给所有请求都携带的 `header`。 |
| timeout | number | 否 | 30000 | 聚合请求的超时时间,单位为 `ms`。 |
| pipeline | [HttpRequest](#httprequest) | 是 | | HTTP 请求的详细信息。 |
| 参数名 | 类型 | 必选项 | 默认值 | 描述 |
| -------- |------------------------------------| ------ | ------ | -------------------------------- |
| query | object | 否 | | 给所有请求都携带的 `query string`。 |
| headers | object | 否 | | 给所有请求都携带的 `header`。 |
| timeout | number | 否 | 30000 | 聚合请求的超时时间,单位为 `ms`。 |
| pipeline | array[[HttpRequest](#httprequest)] | 是 | | HTTP 请求的详细信息。 |

#### HttpRequest

Expand Down

0 comments on commit a9575db

Please sign in to comment.