หน้า Splash

GET https://app.qr-kode.no/api/splash-pages/
curl --request GET \
--url 'https://app.qr-kode.no/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": "2026-02-09 12:56:09",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://app.qr-kode.no/api/projects?page=1",
        "last": "https://app.qr-kode.no/api/projects?page=1",
        "next": null,
        "prev": null,
        "self": "https://app.qr-kode.no/api/projects?page=1"
    }
}
GET https://app.qr-kode.no/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://app.qr-kode.no/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "name": "Development",
        "color": "#0e23cc",
        "last_datetime": null,
        "datetime": "2026-02-09 12:56:09",
    }
}
POST https://app.qr-kode.no/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://app.qr-kode.no/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://app.qr-kode.no/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://app.qr-kode.no/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://app.qr-kode.no/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://app.qr-kode.no/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \