Event
Base interface implemented by all lifecycle events.
Every event carries an action describing what happened and a timestamp recording
when it occurred. Concrete event types add a field for the affected resource.
Because each subscription returns a union, use an ... on Event fragment to
access the shared fields and concrete fragments for the resource payload:
subscription {
projectEvents(organizationId: "my-org", projectId: "my-project") {
... on Event { action timestamp }
... on ComponentEvent {
component { id name }
}
... on LinkEvent {
link { id fromField toField }
}
}
}
interface Event {
action: EventAction!
timestamp: DateTime!
}
Fields
Event.action ● EventAction! non-null enum {#action}
The type of change that occurred.
Event.timestamp ● DateTime! non-null scalar {#timestamp}
When the event occurred, in UTC.
Implemented By
AlarmEvent object ● BundleEvent object ● ComponentEvent object ● ConnectionEvent object ● DeploymentEvent object ● EnvironmentDefaultEvent object ● EnvironmentEvent object ● InstanceEvent object ● LinkEvent object ● OciRepoEvent object ● ProjectEvent object