Studio Apps
setStudioSiteRedirects
Set Site Redirects
Replace a Studio site's WHOLE redirect table, so retired URLs 301 to their live paths on the app's custom domain and on its /a/ link alike.
Arguments
appIdstringrequiredThe Studio app IDredirectsobject[]requiredThe COMPLETE table to store. Every row the site should keep, including the ones already there. An empty list clears the redirects entirely.requestIdstringoptionalOptional idempotency key. Pass the SAME value to retry a failed write safely: the write is an idempotent whole-file replace. Echoed on coded errors.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- redirect /testimonials to /reviews
- set up the redirects for this site
- retire these old URLs
- my old blog links are 404ing
- point the old Squarespace paths at the new pages
Pair it with
The verbs that finish the job.