Skip to main content

AlphaAnnotation

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

Your own note, pinned to a project, environment, component, instance, deployment, or link, and shown on one or more surfaces of the Massdriver UI. Only you can see your annotations.

type AlphaAnnotation {
id: ID!
kind: AlphaAnnotationKind!
project: Project!
entity: AlphaAnnotationEntity!
surfaces: [String!]!
template: String
inputs: Map
createdAt: DateTime!
updatedAt: DateTime!
}

Fields​

AlphaAnnotation.id ● ID! non-null scalar {#id}​

The annotation's ID (a UUID).

AlphaAnnotation.kind ● AlphaAnnotationKind! non-null enum {#kind}​

What the annotation shows.

AlphaAnnotation.project ● Project! non-null object {#project}​

The project the annotation is in.

AlphaAnnotation.entity ● AlphaAnnotationEntity! non-null union {#entity}​

The entity the annotation is on. The project when the annotation is on the project itself.

AlphaAnnotation.surfaces ● [String!]! non-null scalar {#surfaces}​

Where the Massdriver UI shows the annotation, for example instance.canvas_node.

AlphaAnnotation.template ● String scalar {#template}​

The Liquid template of a NOTE annotation. Null for WIDGET annotations.

AlphaAnnotation.inputs ● Map scalar {#inputs}​

The stash entries of a WIDGET annotation, by widget input name. Each scope names its stash by ID, for example {"instance": "ecomm-prod-database"}. An input whose stash owner was deleted, or moved to another project, is left out. Null for NOTE annotations.

AlphaAnnotation.createdAt ● DateTime! non-null scalar {#created-at}​

When the annotation was created (UTC).

AlphaAnnotation.updatedAt ● DateTime! non-null scalar {#updated-at}​

When the annotation was last changed (UTC).

Returned By​

alphaAnnotation query

Member Of​

AlphaAnnotationPayload object ● AlphaAnnotationsPage object