List preview environments
Returns the preview environments of the application, newest first. Preview environments are created automatically from GitHub pull requests or branches — there is no endpoint to create one by hand; configure the triggers via the preview environment config endpoint instead.
Authorizations
Bearer token for authentication. Format: 'Bearer {token}'
Headers
Workspace ID (uses default workspace if not provided)
Path Parameters
Application UUID
Query Parameters
Return only preview environments in this status
creating, active, updating, failed, destroying Response
List preview environments
Preview environment ID. Use it in the show, delete and redeploy endpoints
One of creating, active, updating, failed, destroying
UUID of the cloned application backing this preview environment
Name of the cloned application
Public URL of the preview environment
Pull request number, or null for a branch-based preview environment
Pull request title
GitHub login of the pull request author
open or closed
Link to the pull request on GitHub
Whether the pull request was merged
Head branch the preview environment tracks
Base branch of the pull request
Commit currently deployed
Why the last deployment failed, when status is failed
Timestamp of the last commit picked up
Timestamp of the last successful deployment
When the pull request was closed
When the preview environment is cleaned up automatically
Creation timestamp
Last update timestamp

