latestOpenAPI 3.0.12026-08-10234260964.0 KB
6cc88fde6435
Deployment
Get an environment's deployment information
Retrieve the read-only configuration of an environment's deployment. The returned information is everything required to recreate a project's current deployment.
More specifically, the objects returned by this endpoint contain the configuration derived from the repository's YAML configuration file: .upsun/config.yaml.
Additionally, any values deriving from environment variables, the domains attached to a project, project access settings, etc. are included here.
This endpoint currently returns a list containing a single deployment configuration with an id of current. This may be subject to change in the future.
get/projects/{projectId}/environments/{environmentId}/deployments
Path parameters
projectIdstring required
environmentIdstring required