Site redirects
Establish redirects for pages that have moved or changed in your docs site.
Attributes
objectstring · enumRequiredPossible values:
idstringRequired
The unique identifier for the redirect.
sourcestring · max: 512RequiredPattern:
The source path to redirect from.
^\/(?!\*)(?!.*\*.+)(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+(?:\/(?:[A-Za-z0-9\-._~+]|%[0-9A-Fa-f]{2})+)*(?:\/\*|\*)?$draftbooleanRequired
Whether the redirect is draft and not live.
captureWildcardbooleanRequired
Capture and append the wildcard-matched suffix to the destination URL.
destinationone ofRequired
or
or
or
The SiteRedirect object
Last updated
Was this helpful?