query EventDestination($id: ID!) {
eventDestination(id: $id) {
createdAt
filter
filterDialectVersion
id
name
startsAfterSequence
}
}{
"id": "id"
}{
"data": {
"eventDestination": {
"createdAt": "value",
"filter": "string",
"filterDialectVersion": 1,
"id": "value",
"name": "string",
"startsAfterSequence": "string"
}
}
}eventDestination
Gets an event destination by its global id. Fails with a top-level NotFoundError if there’s none.
eventDestination(id: ID!): EventDestination!Arguments
Global id of the event destination: base64 of EventDestination:<id>, where <id> is EventDestination.id.
Returns
When the event destination was created (UTC).
Which events it receives, in the syntax CreateEventDestinationInput.filter describes. Stored normalized, e.g. (type eq "source.updated" and sourceId eq "products").
Version of the filter syntax. Currently always 1.
Raw id of the event destination (UUID). eventDestination, eventDestinationDeliveries and the event destination mutations take its global form, base64 of EventDestination:<id>.
Name of the event destination, 1 to 200 characters.
Position in the tenant's event stream that delivery started after: only later events are delivered. Same format as the CloudEvent sequence (e.g. 001.00000000000000012345). Null while a webhook waits for verification; for a durable consumer, the position it was created at.
Lifecycle state of the event destination. See EventDestinationStatus.
Where events are sent: the webhook URL, the storage queue URL, or the Service Bus entity as sb://<namespace>/<entity>. Null for DURABLE_CONSUMER.
Kind of event destination. See EventDestinationType.
When the event destination last changed (UTC), status changes Occtoo makes itself included.
query EventDestination($id: ID!) {
eventDestination(id: $id) {
createdAt
filter
filterDialectVersion
id
name
startsAfterSequence
}
}{
"id": "id"
}{
"data": {
"eventDestination": {
"createdAt": "value",
"filter": "string",
"filterDialectVersion": 1,
"id": "value",
"name": "string",
"startsAfterSequence": "string"
}
}
}Was this page helpful?