Stacks

GetStackPreviews

Returns all preview operations associated with a specific stack update version. Multiple previews may be associated with a single update version when a stack is previewed multiple times before an update is applied. Supports pagination via page and pageSize parameters and chronological sorting via the asc parameter.

get/api/stacks/{orgName}/{projectName}/{stackName}/updates/{version}/previews

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/stacks/{orgName}/{projectName}/{stackName}/updates/{version}/previews
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

versioninteger required

The stack update version number

Query parameters

ascboolean

When true, sorts results in ascending chronological order; when false or omitted, sorts in descending order

pageinteger

Page number for paginated results (0-indexed, where 0 returns all results)

pageSizeinteger

Number of results per page (must be >= 1 when page > 0)

Response

OK

itemsPerPageinteger required

The number of items per page

totalinteger required

The total number of updates

Changes

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