Метод | Описание | |
---|---|---|
createSubscription ( integer $app_id, array $subscription ) : |
Create a new subscription. | |
deleteSubscription ( integer $app_id, integer $subscription_id ) : |
Delete a subscription. | |
getSubscription ( integer $app_id ) : |
Get list of subscriptions. | |
updateSettings ( integer $app_id, array $settings ) : |
Update webhook settings. | |
updateSubscription ( integer $app_id, integer $subscription_id, array $subscription ) : |
Update a subscription. | |
viewSettings ( integer $app_id ) : |
Get webhook settings. |
public createSubscription ( integer $app_id, array $subscription ) : |
||
$app_id | integer | |
$subscription | array | |
Результат |
public deleteSubscription ( integer $app_id, integer $subscription_id ) : |
||
$app_id | integer | |
$subscription_id | integer | |
Результат |
public getSubscription ( integer $app_id ) : |
||
$app_id | integer | |
Результат |
public updateSettings ( integer $app_id, array $settings ) : |
||
$app_id | integer | |
$settings | array | |
Результат |
public viewSettings ( integer $app_id ) : |
||
$app_id | integer | |
Результат |