-
Notifications
You must be signed in to change notification settings - Fork 0
Mandrill_Webhooks
Mathieu Nayrolles edited this page Jan 20, 2016
·
1 revision
- Class name: Mandrill_Webhooks
- Namespace:
mixed Mandrill_Webhooks::__construct(\Mandrill $master)
- Visibility: public
- $master Mandrill
array Mandrill_Webhooks::getList()
Get the list of all webhooks defined on the account
- Visibility: public
\struct Mandrill_Webhooks::add(string $url, string $description, array $events)
Add a new webhook
- Visibility: public
- $url string - <p>the URL to POST batches of events</p>
- $description string - <p>an optional description of the webhook</p>
- $events array - <p>an optional list of events that will be posted to the webhook</p> <ul> <li>events[] string the individual event to listen for</li> </ul>
\struct Mandrill_Webhooks::info(integer $id)
Given the ID of an existing webhook, return the data about it
- Visibility: public
- $id integer - <p>the unique identifier of a webhook belonging to this account</p>
\struct Mandrill_Webhooks::update(integer $id, string $url, string $description, array $events)
Update an existing webhook
- Visibility: public
- $id integer - <p>the unique identifier of a webhook belonging to this account</p>
- $url string - <p>the URL to POST batches of events</p>
- $description string - <p>an optional description of the webhook</p>
- $events array - <p>an optional list of events that will be posted to the webhook</p> <ul> <li>events[] string the individual event to listen for</li> </ul>
\struct Mandrill_Webhooks::delete(integer $id)
Delete an existing webhook
- Visibility: public
- $id integer - <p>the unique identifier of a webhook belonging to this account</p>