下載客戶端,操作更方便!下载

廣告頁面

GET https://ja-t.net/api/splash-pages/
curl --request GET \
--url 'https://ja-t.net/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
參數 詳情 描述
page 可選 整數 您希望從中得到結果的頁碼。 默認為 1
results_per_page 可選 整數 每頁需要多少個結果。 允許的值為:10 , 25 , 50 , 100 , 250 , 500 , 1000 默認為 25
{ "data": [ { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": "2021-03-14 21:22:37", "datetime": "2021-02-04 17:51:07" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://ja-t.net/api/projects?&page=1", "last": "https://ja-t.net/api/projects?&page=1", "next": null, "prev": null, "self": "https://ja-t.net/api/projects?&page=1" } }
GET https://ja-t.net/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://ja-t.net/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": "2021-03-14 21:22:37", "datetime": "2021-02-04 17:51:07" } }
POST https://ja-t.net/api/projects
參數 詳情 描述
name 必須 字串 -
title 可選 字串 -
logo 可選 文件 -
description 可選 字串 -
secondary_button_name 可選 字串 -
secondary_button_url 可選 字串 -
custom_css 可選 字串 -
custom_js 可選 字串 -
ads_header 可選 字串 -
ads_footer 可選 字串 -
link_unlock_seconds 可選 整數 -
auto_redirect 可選 布爾 -
curl --request POST \
--url 'https://ja-t.net/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Sample splash page' \
--form 'title=Custom splash page title' \
--form 'description=Custom splash page description' \
{ "data": { "id": 1 } }
POST https://ja-t.net/api/splash-pages/{splash_page_id}
參數 詳情 描述
name 可選 字串 -
title 可選 字串 -
logo 可選 文件 -
description 可選 字串 -
secondary_button_name 可選 字串 -
secondary_button_url 可選 字串 -
custom_css 可選 字串 -
custom_js 可選 字串 -
ads_header 可選 字串 -
ads_footer 可選 字串 -
link_unlock_seconds 可選 整數 -
auto_redirect 可選 布爾 -
curl --request POST \
--url 'https://ja-t.net/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Sample splash page' \
--form 'title=Custom splash page title' \
--form 'description=Custom splash page description' \
{ "data": { "id": 1 } }
DELETE https://ja-t.net/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://ja-t.net/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \