10000 Add Account Activity API methods · bitnull/codebird-php@0041ca0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0041ca0

Browse files
committed
Add Account Activity API methods
1 parent 9d14498 commit 0041ca0

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ codebird-php - changelog
1515
+ Add POST media/metadata/create method
1616
- Fix TON API upload - add additional header parsing
1717
+ Add custom Codebird Exception classes
18+
+ Add Account Activity API methods
1819
+ Add new Direct Messages API
1920
+ Update cacert.pem file
2021
- Remove sunsetting Direct Messages API

src/codebird.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ class Codebird
9090
'GET' => [
9191
'account/settings',
9292
'account/verify_credentials',
93+
'account_activity/all/:env_name/subscriptions',
94+
'account_activity/all/:env_name/subscriptions/list',
95+
'account_activity/all/:env_name/webhooks',
96+
'account_activity/all/webhooks',
97+
'account_activity/subscriptions/count',
98+
'account_activity/webhooks',
99+
'account_activity/webhooks/:webhook_id/subscriptions/all',
100+
'account_activity/webhooks/:webhook_id/subscriptions/all/list',
93101
'ads/accounts',
94102
'ads/accounts/:account_id',
95103
'ads/accounts/:account_id/account_media',
@@ -333,6 +341,10 @@ class Codebird
333341
'account/update_profile_background_image',
334342
'account/update_profile_banner',
335343
'account/update_profile_image',
344+
'account_activity/all/:env_name/subscriptions',
345+
'account_activity/all/:env_name/webhooks',
346+
'account_activity/webhooks',
347+
'account_activity/webhooks/:webhook_id/subscriptions/all',
336348
'ads/accounts/:account_id/account_media',
337349
'ads/accounts/:account_id/app_lists',
338350
'ads/accounts/:account_id/campaigns',
@@ -446,6 +458,8 @@ class Codebird
446458
'users/report_spam'
447459
],
448460
'PUT' => [
461+
'account_activity/all/:env_name/webhooks/:webhook_id',
462+
'account_activity/webhooks/:webhook_id',
449463
'ads/accounts/:account_id/campaigns/:campaign_id',
450464
'ads/accounts/:account_id/cards/app_download/:card_id',
451465
'ads/accounts/:account_id/cards/image_app_download/:card_id',
@@ -480,6 +494,10 @@ class Codebird
480494
'ton/bucket/:bucket/:file?resumable=true&resumeId=:resumeId'
481495
],
482496
'DELETE' => [
497+
'account_activity/all/:env_name/subscriptions',
498+
'account_activity/all/:env_name/webhooks/:webhook_id',
499+
'account_activity/webhooks/:webhook_id',
500+
'account_activity/webhooks/:webhook_id/subscriptions/all',
483501
'ads/accounts/:account_id/campaigns/:campaign_id',
484502
'ads/accounts/:account_id/cards/app_download/:card_id',
485503
'ads/accounts/:account_id/cards/image_app_download/:card_id',

0 commit comments

Comments
 (0)
0