Routing Information
Business Function
This API is used to query the routing information about a service.
Request
None
Response
Response Parameter
| Parameter | Type | Description |
|---|---|---|
| Route information | text | Complete routing information |
Response Example
- precedence: 2
route:
- tags:
app: HelloWorld
version: "1.2"
weight: 80
- tags:
app: HelloWorld
version: "1.3"
weight: 20
match:
refer: vmall-with-special-header
source: vmall
sourceTags:
version: v2
httpHeaders:
X-Age:
exact: "18"
cookie:
regex: ^(.*?;)?(user=jason)(;.*)?$
- precedence: 1
route:
- tags:
version: "1.0"
weight: 100
match:
refer: ""
source: ""
sourceTags: {}
httpHeaders: {} Status Code
Table 3 describes the status code.
Last Article: Mesher Version
Next Article: Metrics
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.