saleor-apps-redis_apl/apps/search/graphql/fragments/OwnWebhook.graphql
Lukasz Ostrowski 40bed99316
Webhooks optimization (#434)
* Disable webhooks in manifest and create graphql operations

* Add webhook enabler service

* Add webhooks to subscription events

* Disable webhooks when webhok operation fail

* display webhooks status

* Display failed deliveries

* Use react query in webhooks-status, refetch it when configu updated

* Extracted main instructons

* Better webhook instructions

* Optimize webhooks fetching from subscription

* Test for WebhooksAcivityToggler

* Changeset

* Test for webhook status handler WIP

* Test wip

* Rewrite test
2023-04-29 11:30:48 +02:00

26 lines
394 B
GraphQL

fragment OwnWebhook on Webhook {
id
isActive
asyncEvents {
name
eventType
}
eventDeliveries(first: 100) {
edges {
node {
id
status
attempts(first: 100) {
edges {
node {
status
id
createdAt
responseStatusCode
}
}
}
}
}
}
}