Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update apisix_route_v2.md #2175

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/en/latest/references/apisix_route_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ The table below describes each of the attributes in the spec. The fields `apiVer
| http[].authentication.type | string | Type of authentication. Set to one of `basicAuth` or `keyAuth`. |
| http[].authentication.keyAuth | object | Unique key for a [Consumer](https://apisix.apache.org/docs/apisix/terminology/consumer/). |
| http[].authentication.keyAuth.header | string | Header to get the key from. |
| http[].upstreams | array | List of `ApisixUpstream` resources. |
| http[].upstreams[].name | string | Name of the `ApisixUpstream` resource. |
| http[].upstreams[].weight | integer | Weight with which to split traffic to the upstream. |
| stream | array | Stream route rules. Contains TCP or UDP rules. |
| stream[].protocol | string (required) | The protocol of rule. Support `TCP` or `UDP` |
| stream[].name | string (required) | Name of the rule. |
Expand Down