引导页
GET https://tit.lc/api/splash-pages/
curl --request GET \
--url 'https://tit.lc/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tit.lc/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-25 16:27:35",
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://tit.lc/api/projects?page=1",
"last": "https://tit.lc/api/projects?page=1",
"next": null,
"prev": null,
"self": "https://tit.lc/api/projects?page=1"
}
}
GET https://tit.lc/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://tit.lc/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tit.lc/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-10-25 16:27:35",
}
}
POST https://tit.lc/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://tit.lc/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://tit.lc/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://tit.lc/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://tit.lc/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://tit.lc/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://tit.lc/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://tit.lc/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tit.lc/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \