AlphaWidget
Alpha: this API can change or be removed at any time, without notice.
A widget drawn from a well-known stash key.
type AlphaWidget {
name: String!
scope: AlphaStashScopeRef!
rolledUpTo: AlphaStashScopeRef
segments: Map!
values: Map!
updatedAt: DateTime!
expiresAt: DateTime
}
Fields
AlphaWidget.name ● String! non-null scalar {#name}
The widget's name, for example instance.usage_bar.
AlphaWidget.scope ● AlphaStashScopeRef! non-null object {#scope}
The entity whose stash has the key. For a link.traffic widget, this is the instance that sends the traffic, and the widget shows on the lines that leave it. For a deployment result read through an instance, this is the deployment that the result came from.
AlphaWidget.rolledUpTo ● AlphaStashScopeRef object {#rolled-up-to}
The instance whose latest deployment results include this widget, when the widget is a deployment result returned for an instance scope. Null for every other widget, such as a result read only through its deployment scope.
AlphaWidget.segments ● Map! non-null scalar {#segments}
The values of the key's named segments, by name, for example {"step": "src"} for the key md/v1/step/src. Empty for a fixed key.
AlphaWidget.values ● Map! non-null scalar {#values}
The widget's input values, by input name, for example {"value": 42, "max": 100}. An optional input that the key's value does not set is left out.
AlphaWidget.updatedAt ● DateTime! non-null scalar {#updated-at}
When the key was last set (UTC).
AlphaWidget.expiresAt ● DateTime scalar {#expires-at}
When the key expires (UTC). Null when the key does not expire.
Member Of
AlphaWidgetsPage object