Version: 202201
Search Redirect
POST/openapi/2022-01/redirects/detail
Searches URL redirect rules by path pattern or keyword.
Request
- application/json
- Body
- Example
Body
from_urlstring
Original URL, for example: /collections/hot-selling
{
"from_url": "string"
}
Responses
- 200
- 404
200
- application/json
- Schema
- Example
- Result
Schema
idinteger
Default value:
0Example:
373043233132924740store_idinteger
Default value:
0Example:
633130statusstring
Example:
openfrom_urlstring
Example:
/collections/hot-sellingredirect_urlstring
Example:
/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
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Record not found"
]
}
{
"errors": [
"Record not found"
]
}