Update static site build and routing configuration
Updates how the site is built and served. Applied as a patch: fields you omit keep their stored value. The content source cannot be changed - it decides what is provisioned for the site, so switching means creating a new one.
Authorizations
Bearer token for authentication. Format: 'Bearer {token}'
Headers
Workspace ID (uses default workspace if not provided)
Path Parameters
Static site UUID
Body
Update static site build and routing configuration
UUID of stored GitHub App credentials (for a 'github' source)
GitHub repository in 'owner/repo' format (for a 'github' source)
Branch to build and deploy from (for a 'github' source)
Rebuild and deploy on every push (for a 'github' source)
Branch that triggers auto-deploy (for a 'github' source)
Static site generator; 'auto' detects it (for 'git_push' and 'github')
Override the generator's default build command
Override the generator's default output directory
Subdirectory to build from, for monorepos
Rewrite unknown paths to /index.html for client-side routing
Response
Update static site build and routing configuration
Api_V1_Entities_StaticSite model
Unique static site identifier
The name the site is served under. Unlike applications, no random suffix is appended, so it is the name you sent at creation
Display name
Current state: pending while the bucket and routing are provisioned, assigned once ready, deploying during a deploy, running when live, failed on error
Public URL the site is served on. Custom domains are listed separately
Region the content is stored in. Serving is region-less
Associated project UUID
Content source and build configuration. Bucket credentials are never exposed
Creation timestamp
Last update timestamp

