Splash पृष्ठहरू

GET https://tistos.com/api/splash-pages/
curl --request GET \
--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 11:02:11",
        },
    ],
    "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}' \
{
    "data": {
        "id": 1,
        "name": "Development",
        "color": "#0e23cc",
        "last_datetime": null,
        "datetime": "2025-10-16 11:02:11",
    }
}
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 वैकल्पिक बूलियन -
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' \
{
    "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 वैकल्पिक बूलियन -
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' \
{
    "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}' \