WebhookExtension
trait WebhookExtension
WebhookExtension trait.
This extension is supposed to be applied to Client class which provides a fetchResource
method.
Traits
WebhookCallExtension trait.
WebhookHealthExtension trait.
Methods
getWebhookCall(string $spaceId, string $webhookId, string $webhookCallId)
Returns a WebhookCall resource.
from WebhookCallExtension
getWebhookCalls(string $spaceId, string $webhookId, Query $query = null)
Returns a ResourceArray object containing WebhookCall resources.
from WebhookCallExtension
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
No description
getWebhookHealth(string $spaceId, string $webhookId)
Returns an WebhookHealth resource.
getWebhook(string $spaceId, string $webhookId)
Returns a Webhook resource.
getWebhooks(string $spaceId, Query $query = null)
Returns a ResourceArray object containing Webhook resources.
Details
in WebhookCallExtension at line 33
getWebhookCall(string $spaceId, string $webhookId, string $webhookCallId)
Returns a WebhookCall resource.
in WebhookCallExtension at line 47
getWebhookCalls(string $spaceId, string $webhookId, Query $query = null)
Returns a ResourceArray object containing WebhookCall resources.
at line 26
ResourceInterface|ResourceArray
fetchResource(string $class, array $parameters, Query $query = null, ResourceInterface $resource = null)
in WebhookHealthExtension at line 33
getWebhookHealth(string $spaceId, string $webhookId)
Returns an WebhookHealth resource.
at line 36
getWebhook(string $spaceId, string $webhookId)
Returns a Webhook resource.
at line 49
getWebhooks(string $spaceId, Query $query = null)
Returns a ResourceArray object containing Webhook resources.