スプラッシュページ

GET https://wlinky.com/api/splash-pages/
curl --request GET \
--url 'https://wlinky.com/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://wlinky.com/api/projects?&page=1", "last": "https://wlinky.com/api/projects?&page=1", "next": null, "prev": null, "self": "https://wlinky.com/api/projects?&page=1" } }
GET https://wlinky.com/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://wlinky.com/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://wlinky.com/api/projects
パラメータ 詳細 説明
name 必須 文字列 -
title 任意 文字列 -
logo 任意 ファイル -
favicon 任意 ファイル -
opengraph 任意 ファイル -
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://wlinky.com/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://wlinky.com/api/splash-pages/{splash_page_id}
パラメータ 詳細 説明
name 任意 文字列 -
title 任意 文字列 -
logo 任意 ファイル -
favicon 任意 ファイル -
opengraph 任意 ファイル -
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://wlinky.com/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://wlinky.com/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://wlinky.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \