Environments

ReadEnvironmentDraft

Reads the YAML definition for a draft version of a Pulumi ESC environment. Drafts are proposed changes created as part of the approvals workflow. The draft is identified by the changeRequestID path parameter. An optional revision query parameter can target a specific base revision. The response is returned in application/x-yaml format. Requires the Approvals feature to be enabled.

get/api/esc/environments/{orgName}/{projectName}/{envName}/drafts/{changeRequestID}

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/esc/environments/{orgName}/{projectName}/{envName}/drafts/{changeRequestID}
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

envNamestring required

The environment name

changeRequestIDstring required

The change request ID

Query parameters

revisioninteger

The environment revision number to target

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.