WebhookSubscription
No description
interface WebhookSubscription { id: Int! events: [WebhookEvent!]! query: String! url: String! client: OAuthClient deliveries( cursor: Cursor ): WebhookDeliveryCursor! sample( event: WebhookEvent! ): String!}Fields
Section titled “Fields”WebhookSubscription.id ● Int!non-nullscalar {#id}
Section titled “WebhookSubscription.id ● Int! {#id}”WebhookSubscription.events ● [WebhookEvent!]!non-nullenum {#events}
Section titled “WebhookSubscription.events ● [WebhookEvent!]! {#events}”WebhookSubscription.query ● String!non-nullscalar {#query}
Section titled “WebhookSubscription.query ● String! {#query}”WebhookSubscription.url ● String!non-nullscalar {#url}
Section titled “WebhookSubscription.url ● String! {#url}”WebhookSubscription.client ● OAuthClientobject {#client}
Section titled “WebhookSubscription.client ● OAuthClient {#client}”If this webhook was registered by an authorized OAuth 2.0 client, this field is non-null.
WebhookSubscription.deliveries ● WebhookDeliveryCursor!non-nullobject {#deliveries}
Section titled “WebhookSubscription.deliveries ● WebhookDeliveryCursor! {#deliveries}”All deliveries which have been sent to this webhook.
WebhookSubscription.deliveries.cursor ● Cursorscalar {#webhook-subscription-deliveries-cursor}
Section titled “WebhookSubscription.deliveries.cursor ● Cursor {#webhook-subscription-deliveries-cursor}”WebhookSubscription.sample ● String!non-nullscalar {#sample}
Section titled “WebhookSubscription.sample ● String! {#sample}”Returns a sample payload for this subscription, for testing purposes
WebhookSubscription.sample.event ● WebhookEvent!non-nullenum {#webhook-subscription-sample-event}
Section titled “WebhookSubscription.sample.event ● WebhookEvent! {#webhook-subscription-sample-event}”Returned By
Section titled “Returned By”createGitWebhook mutation ● createUserWebhook mutation ● deleteGitWebhook mutation ● deleteUserWebhook mutation ● gitWebhook query ● userWebhook query
Member Of
Section titled “Member Of”WebhookDelivery object ● WebhookSubscriptionCursor object
Implemented By
Section titled “Implemented By”GitWebhookSubscription object ● UserWebhookSubscription object