Stacks
StackUpdates

GetLatestStackPreviews

Returns all preview operations associated with the latest stack update version. Previews are dry-run operations that show what changes would be made. Supports pagination via page and pageSize parameters (page 0 returns all results). The asc parameter controls sort order (ascending or descending by chronological order).

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

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

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.