Skip to main content

alphaWidgetCatalog

Alpha: this API can change or be removed at any time, without notice.

Every version of every widget that the Massdriver UI can draw from a well-known stash key, ordered by name and then version.

query {
alphaWidgetCatalog {
name
entity
version
key
keySegments
scope
format
schema
inputs { name type required field }
}
}
alphaWidgetCatalog: [AlphaWidgetDefinition!]!

Type​

AlphaWidgetDefinition object​

Alpha: this API can change or be removed at any time, without notice.

One version of a widget that the Massdriver UI can draw, and the well-known stash key that drives it. When a stash has the key with a value that matches schema, everyone who can view the project sees the widget. Keys that start with md/ are reserved for widgets: setting one checks its value against the schema.

A well-known key carries its version, for example md/v1/usage. A breaking change to a key's shape adds a new version of the widget with a new key, next to the old one. When a stash has more than one version of a widget's key, the UI draws the widget from the highest version.