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
Request
- Base URLhttps://api.upsun.com
- AuthOAuth 2Authorization codehttps://auth.api.platform.sh/oauth2/authorizeToken URLhttps://auth.api.platform.sh/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
environmentIdstring required
Response
Changes
No recorded changes to this operation across all 1 revision of this API.