OciRepoEvent
A lifecycle event for an OCI repository in the organization's bundle catalog.
Emitted with action CREATED the first time a bundle is published under a
new repository name. The registry is immutable โ repositories cannot be
renamed or deleted through the API today โ so subsequent publishes to an
existing repository fire a BundleEvent instead. Subscribe via
organizationEvents.
type OciRepoEvent implements Event {
action: EventAction!
timestamp: DateTime!
ociRepo: OciRepo!
}
Fieldsโ
OciRepoEvent.actionย โย EventAction! non-null enum {#action}โ
OciRepoEvent.timestampย โย DateTime! non-null scalar {#timestamp}โ
OciRepoEvent.ociRepoย โย OciRepo! non-null object {#oci-repo}โ
The OCI repository that was created.
Interfacesโ
Event interfaceโ
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 }
}
}
}