test_redirect
Report the status and Location the public proxy would send for a path or a full public URL. The scheme and host are dropped, then a leading website id or locale segment is stripped the same way as the public URL. 404 when the path ends in a static asset extension. 301 or 302 for a stored redirect, with redirectId. 308 for a locale-path alias. 404 reason not_found when no page matches, including a dynamic route whose entry does not exist. A period in a slug still matches a dynamic route. Otherwise the path reaches the page.
test_redirect · Group: design
Inputs
websiteId
required
from
required
localeCode
optional
Schema
{
"name": "test_redirect",
"group": "design",
"inputFields": [
{
"name": "websiteId",
"required": true
},
{
"name": "from",
"required": true
},
{
"name": "localeCode",
"required": false
}
]
}Maps to
POST /api/v1/{locale}/{websiteId}/redirects/test→ API