版本:202201
搜索 URL 重定向
POST/openapi/2022-01/redirects/detail
通过路径模式或关键词搜索 URL 重定向规则。
请求
- application/json
- 请求体
- 示例
请求体
from_urlstring
Original URL, for example: /collections/hot-selling
{
"from_url": "string"
}
响应
- 200
- 404
200
- application/json
- 数据结构
- 示例
- Result
数据结构
idinteger
默认值:
0示例:
373043233132924740store_idinteger
默认值:
0示例:
633130statusstring
示例:
openfrom_urlstring
示例:
/collections/hot-sellingredirect_urlstring
示例:
/collections/test1567{
"id": 373043233132924740,
"store_id": 633130,
"status": "open",
"from_url": "/collections/hot-selling",
"redirect_url": "/collections/test1567"
}
{
"id": 373043233132924740,
"store_id": 633130,
"status": "open",
"from_url": "/collections/hot-selling",
"redirect_url": "/collections/test1567"
}
404
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Record not found"
]
}
{
"errors": [
"Record not found"
]
}