**版本：202201**

# 查询 URL 重定向列表

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

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

## 响应

**200**

200

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `count` integer

  **默认值：** `0`

  **示例：** `2`
- `redirects` object[]

  *   Array [

  - `id` integer

    **默认值：** `0`

    **示例：** `373043170117713500`
  - `store_id` integer

    **默认值：** `0`

    **示例：** `633130`
  - `status` string

    **示例：** `open`
  - `from_url` string

    **示例：** `/collections/hot-selling1`
  - `redirect_url` string

    **示例：** `/collections/test1567`
  *   ]

```json
{
  "count": 2,
  "redirects": [
    {
      "id": 373043170117713500,
      "store_id": 633130,
      "status": "open",
      "from_url": "/collections/hot-selling1",
      "redirect_url": "/collections/test1567"
    }
  ]
}
```

```json
{
  "count": 2,
  "redirects": [
    {
      "id": 373043170117713500,
      "store_id": 633130,
      "status": "open",
      "from_url": "/collections/hot-selling1",
      "redirect_url": "/collections/test1567"
    },
    {
      "id": 373043233132924740,
      "store_id": 633130,
      "status": "open",
      "from_url": "/collections/hot-selling",
      "redirect_url": "/collections/test1567"
    }
  ]
}
```
