Warning: Undefined property: stdClass::$maintenance_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/core/App.php on line 244 Warning: Undefined property: stdClass::$x in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/core/Meta.php on line 69 Warning: Undefined property: stdClass::$ai_scraping_is_allowed in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/core/Controller.php on line 51 廣告系列 - API 文檔 - AiO APP控件
下載客戶端,操作更方便!下载
Warning: Undefined property: stdClass::$guests_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/partials/announcements.php on line 5 Warning: Undefined property: stdClass::$users_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/partials/announcements.php on line 5 Warning: Undefined property: stdClass::$ad_blocker_detector_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/partials/ad_blocker_detector.php on line 3 Warning: Undefined property: stdClass::$admin_spotlight_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/wrapper.php on line 80 Warning: Undefined property: stdClass::$user_spotlight_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/wrapper.php on line 80

廣告系列

GET https://push.axiox.net/api/campaigns/
curl --request GET \
--url 'https://push.axiox.net/api/campaigns/' \
--header 'Authorization: Bearer {api_key}' \
參數 Details 描述
page 可選 整數 你想要結果的頁碼。默認為 1.
results_per_page 可選 整數 每頁需要多少個結果。允許的值為:10 , 25 , 50 , 100 , 250 , 500 , 1000。默認為 25.
{ "data": [ { "id": 1, "pixel_key": "1234567890abcdef", "name": "Example", "domain": "example.com", "branding": { "name": "", "url": "" }, "email_reports_is_enabled": true, "email_reports_last_datetime": "2019-05-22 23:40:17", "is_enabled": true, "last_datetime": null, "datetime": "2025-04-26 20:02:36" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://push.axiox.net/api/campaigns?&page=1", "last": "https://push.axiox.net/api/campaigns?&page=1", "next": null, "prev": null, "self": "https://push.axiox.net/api/campaigns?&page=1" } }
GET https://push.axiox.net/api/campaigns/{campaign_id}
curl --request GET \
--url 'https://push.axiox.net/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "pixel_key": "1234567890abcdef", "name": "Example", "domain": "example.com", "branding": { "name": "", "url": "" }, "email_reports_is_enabled": true, "email_reports_last_datetime": "2019-05-22 23:40:17", "is_enabled": true, "last_datetime": null, "datetime": "2025-04-26 20:02:36" } }
POST https://push.axiox.net/api/campaigns
參數 Details 描述
domain_id 可選 整數 -
name 必需 字符串 -
domain 必需 字符串 -
branding_name 可選 字符串 -
branding_url 可選 字符串 -
email_reports 可選 陣列 Notification handler ids
is_enabled 可選 布爾 -
curl --request POST \
--url 'https://push.axiox.net/api/campaigns' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'domain=example.com' \
{ "data": { "id": 1 } }
POST https://push.axiox.net/api/campaigns/{campaign_id}
參數 Details 描述
domain_id 可選 整數 -
name 可選 字符串 -
domain 可選 字符串 -
branding_name 可選 字符串 -
branding_url 可選 字符串 -
email_reports 可選 陣列 Notification handler ids
is_enabled 可選 布爾 -
curl --request POST \
--url 'https://push.axiox.net/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{ "data": { "id": 1 } }
DELETE https://push.axiox.net/api/campaigns/{campaign_id}
curl --request DELETE \
--url 'https://push.axiox.net/api/campaigns/{campaign_id}' \
--header 'Authorization: Bearer {api_key}' \