Перейти к содержимому
R-Service R-Service
Руководство разработчика RR Tech Service Management

Webhook Object

Эта документация пока недоступна на вашем языке, поэтому показана английская версия.

All Webhook objects of an account are accessible by a query on the root connection webhooks . Such a query will return a WebhookConnection! , which contains the Webhook objects in its nodes field.

webhooks ( WebhookConnection! )

Root connection for retrieving Webhook records.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
filterWebhookFilterFilter to determine which Webhook records are returned.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.

The fields in this section list which values can be retrieved when querying Webhook records.

account ( Account )

The account this record belongs to.

createdAt ( ISO8601Timestamp )

The date and time at which the record was created.

description ( String )

Description of the webhook’s purpose.

disabled ( Boolean )

Whether the webhook will be triggered when the event occurs.

event ( WebhookEvent )

Event that will trigger this webhook.

id ( ID! )

Unique identifier of the record.

mailExceptionsTo ( String )

Comma separated list of email addresses who will be informed when the webhook execution fails.

name ( String )

Name of this webhook.

source ( String )

An identifier for the client application submitting the resource or the name of an external system.

sourceID ( String )

The unique identifier of the resource in an external system.

updatedAt ( ISO8601Timestamp )

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

uri ( String )

Publicly accessible URI that R-Service can use to POST http messages to.

webhookPolicy ( WebhookPolicy )

The webhook policy to use for cryptographic signing of the messages.

The connection fields in this section allow (paged) access to objects related to a specific Webhook record. The actual objects will be in the nodes field of the connection.

descriptionAttachments ( AttachmentConnection )

Inline images linked to the Description field.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.

Webhook implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Webhook.