Get the preview environment config
Returns what triggers preview environments for this application, where they run, what is cloned into them, and when they are cleaned up. Returns 404 when the application has never been configured — send a PUT to create the config.
Authorizations
Bearer token for authentication. Format: 'Bearer {token}'
Headers
Workspace ID (uses default workspace if not provided)
Path Parameters
Application UUID
Response
Get the preview environment config
Api_V1_Entities_PreviewEnvironmentConfig model
Whether preview environments are created for this application
parent (reuse the application's resource) or existing (use resource_id)
UUID of the resource preview environments run on, when resource_mode is existing
UUID of the project preview environments land in. Null means they follow the parent application
pull_request or every_branch
auto, label, branch_pattern or pr_name_pattern
Pull request label that triggers creation, when trigger_filter is label
Glob matched against the branch name, when trigger_filter is branch_pattern
Glob matched against the pull request title, when trigger_filter is pr_name_pattern
Redeploy the preview environment on every push to its branch
Destroy the preview environment when the pull request is merged
Destroy the preview environment when the pull request is closed unmerged
Destroy the preview environment when its branch is deleted
Destroy the preview environment after inactivity_days without a commit
Days without a commit before cleanup, when cleanup_on_inactivity is on
Days a preview environment is kept before it expires
after_pr_close (count from PR close) or from_creation
Post the preview environment URL as a pull request comment. Always off in every_branch mode
What is copied from the parent application. Keys clone_variables, clone_secret_files and clone_security default to true when absent; addons and cronjobs default to copying all
Creation timestamp
Last update timestamp

