ទំព័រ Splash
GET https://tistos.com/api/splash-pages/
curl --request GET \
--url 'https://tistos.com/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.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": null, "datetime": "2025-10-16 10:56:24", }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://tistos.com/api/projects?page=1", "last": "https://tistos.com/api/projects?page=1", "next": null, "prev": null, "self": "https://tistos.com/api/projects?page=1" } }
GET https://tistos.com/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://tistos.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-10-16 10:56:24", } }
POST https://tistos.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 | ជ្រើសរើសបាន Boolean | - |
curl --request POST \
--url 'https://tistos.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' \
--url 'https://tistos.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://tistos.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 | ជ្រើសរើសបាន Boolean | - |
curl --request POST \
--url 'https://tistos.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' \
--url 'https://tistos.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://tistos.com/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://tistos.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \