Webhooks
extends Endpoint
in package
FinalYes
Tags
Table of Contents
Constants
- PATH : mixed = '/webhooks'
Properties
Methods
- __construct() : mixed
- all() : WebhooksResults
- List all webhooks.
- create() : Webhook
- Create a webhook.
- delete() : void
- Delete a webhook by its uuid.
- get() : Webhook
- Get a single webhook by its uuid.
- update() : Webhook
- Update a webhook. Only the fields set on the query are sent.
Constants
PATH
protected
mixed
PATH
= '/webhooks'
Properties
$http
protected
Http
$http
Methods
__construct()
public
__construct(Http $http) : mixed
Parameters
- $http : Http
all()
List all webhooks.
public
all() : WebhooksResults
Tags
Return values
WebhooksResultscreate()
Create a webhook.
public
create(CreateWebhookQuery $request) : Webhook
Parameters
- $request : CreateWebhookQuery
Tags
Return values
Webhookdelete()
Delete a webhook by its uuid.
public
delete(non-empty-string $uuid) : void
Parameters
- $uuid : non-empty-string
Tags
get()
Get a single webhook by its uuid.
public
get(non-empty-string $uuid) : Webhook
Parameters
- $uuid : non-empty-string
Tags
Return values
Webhookupdate()
Update a webhook. Only the fields set on the query are sent.
public
update(UpdateWebhookQuery $request) : Webhook
Parameters
- $request : UpdateWebhookQuery