---
title: "get rule list"
method: GET
path: "/api/{env}/traffic/weight"
tags: ["TrafficWeight"]
---

# get rule list

`GET /api/{env}/traffic/weight`

get rule list

## Query parameters

- `service` string, required
- `version` string, required
- `group` string, required

## Response `200`

OK

- ModelWeight[]
  - `match` ModelConditionMatch, required
    - `address` ModelAddressMatch
      - `cird` string
      - `exact` string
      - `wildcard` string
    - `application` ModelListStringMatch
      - `oneof` ModelStringMatch[]
        - `empty` string
        - `exact` string
        - `noempty` string
        - `prefix` string
        - `regex` string
        - `wildcard` string
    - `param` ModelParamMatch[]
      - `key` string
      - `value` ModelStringMatch
        - `empty` string
        - `exact` string
        - `noempty` string
        - `prefix` string
        - `regex` string
        - `wildcard` string
    - `service` ModelListStringMatch
      - `oneof` ModelStringMatch[]
        - `empty` string
        - `exact` string
        - `noempty` string
        - `prefix` string
        - `regex` string
        - `wildcard` string
  - `weight` integer, required

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.dev/apache/apis/dubbo-admin-api.md) · [All operations](https://skmtc.dev/apache/apis/dubbo-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apache/dubbo-admin-api/revisions/3620d40f4941/schema)
