**版本：202601**

# 查询 URL 重定向列表

**GET** `/openapi/2026-01/redirects`

分页获取所有 URL 重定向规则列表。

## 响应

**200**

OK

**application/json**

**数据结构 | 示例**

**数据结构**

- `code` string

  错误码
- `message` string

  错误信息
- `data` object

  - `count` int32

    数量
  - `redirects` object[]

    URL 重定向列表

    *   Array \[

    - `id` int64

      重定向 ID
    - `store_id` int32

      重定向创建所在店铺的 ID
    - `status` string

      重定向状态
    - `from_url` string

      指定用于重定向的原始 URL
    - `redirect_url` string

      为重定向指定的目标 URL
    *   \]

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "count": 0,
    "redirects": [
      {
        "id": 0,
        "store_id": 0,
        "status": "string",
        "from_url": "string",
        "redirect_url": "string"
      }
    ]
  }
}
```
