{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/301RedirectUpsert",
"title": "301RedirectUpsert",
"required": [
"from_path",
"site_id"
],
"type": "object",
"properties": {
"from_path": {
"type": "string",
"example": "/old-url/"
},
"site_id": {
"type": "integer"
},
"to": {
"$ref": "#/components/schemas/RedirectTo"
}
},
"description": "Data necessary to create or update a redirect. If there\u2019s a conflict on the from_path and site_id, the redirect will be overwritten with new data."
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.