AlphaUpdateAnnotationInput
Alpha: this API can change or be removed at any time, without notice.
Change the surfaces, template, or inputs of one of your annotations. Fields you leave out keep their values. The kind and the entity cannot be changed.
input AlphaUpdateAnnotationInput {
inputs: Map
surfaces: [String!]
template: String
}
Fields
AlphaUpdateAnnotationInput.inputs ● Map scalar {#inputs}
A JSON object that maps each input of the widget of a WIDGET annotation to a stash entry, and replaces every input. Use the input names from alphaWidgetCatalog, and set every required input. Each value has source (always stash), scope (one of project, environment, component, instance, or deployment, set to an ID in the annotation's project), key, and an optional path (a list of keys into a JSON entry's data).
AlphaUpdateAnnotationInput.surfaces ● [String!] list scalar {#surfaces}
Where the Massdriver UI shows the annotation, from 1 to 8 surfaces. Each one is lowercase words joined by dots, up to 64 characters, and starts with the kind of entity the annotation is on, such as instance.canvas_node. An annotation on a component can also use instance surfaces. A WIDGET annotation has exactly one surface: the name of a widget, such as instance.usage_bar.
AlphaUpdateAnnotationInput.template ● String scalar {#template}
The Liquid template to show on a NOTE annotation, up to 4096 bytes. Massdriver stores it as written and does not evaluate it.
Member Of
alphaUpdateAnnotation mutation