SDK reference / Models / Delivery
PreviewCreate
Kind: class
Namespace: Egulu.Sdk.Models.Delivery
A private preview of a pull request: one revision of an app at 0 % of production traffic, reachable by project members and by share links (W36; ADR-0701, ADR-0605, ADR-1102).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Delivery.PreviewCreate_annotations? | annotations | At most 256 KiB in all; never policy input. |
AppName | string? | appName | The app the preview is a revision of. |
BaseBranch | string? | baseBranch | The base branch; `main` when absent. |
DatabaseBranchRequested | bool? | databaseBranchRequested | Whether a database branch is wanted for the preview. Set at creation. |
DisplayName | string? | displayName | Up to 63 characters. |
HeadBranch | string? | headBranch | The head branch; `pr-{prNumber}` when absent. |
HeadSha | string? | headSha | The head commit. In a request it is a claim; the git provider's answer wins. |
HostLabel | string? | hostLabel | The host label of the preview's URL; the app's name when absent. |
Labels | List<string>? | labels | The pull request's labels: an array of names, not a map. The label `ok-to-preview` is a maintainer's approval of a fork's preview. |
Overlay | Models.Delivery.EnvironmentOverlay? | overlay | Variables and secret references the preview lays over the app's own. Set at creation. |
PrNumber | int? | prNumber | The pull request's number; 1 or more. |
SourceRepository | string? | sourceRepository | The repository of the pull request; the app's name when absent. |