Pagini de introducere
GET https://digily.link/api/splash-pages/
curl --request GET \
--url 'https://digily.link/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://digily.link/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
Parametri | Detalii | Descriere |
---|---|---|
page | Opțional Întreg | Numărul paginii de la care doriți rezultatele. Implicit este 1 . |
results_per_page | Opțional Întreg | Câte rezultate doriți pe pagină. Valorile permise sunt: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Implicit este 25 . |
{ "data": [ { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-09-14 12:05:10", }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://digily.link/api/projects?page=1", "last": "https://digily.link/api/projects?page=1", "next": null, "prev": null, "self": "https://digily.link/api/projects?page=1" } }
GET https://digily.link/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://digily.link/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://digily.link/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-09-14 12:05:10", } }
POST https://digily.link/api/projects
Parametri | Detalii | Descriere |
---|---|---|
name | Necesar Șir | - |
title | Opțional Șir | - |
logo | Opțional Fișier | - |
favicon | Opțional Fișier | - |
opengraph | Opțional Fișier | - |
description | Opțional Șir | - |
secondary_button_name | Opțional Șir | - |
secondary_button_url | Opțional Șir | - |
custom_css | Opțional Șir | - |
custom_js | Opțional Șir | - |
ads_header | Opțional Șir | - |
ads_footer | Opțional Șir | - |
link_unlock_seconds | Opțional Întreg | - |
auto_redirect | Opțional Boolean | - |
curl --request POST \
--url 'https://digily.link/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://digily.link/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://digily.link/api/splash-pages/{splash_page_id}
Parametri | Detalii | Descriere |
---|---|---|
name | Opțional Șir | - |
title | Opțional Șir | - |
logo | Opțional Fișier | - |
favicon | Opțional Fișier | - |
opengraph | Opțional Fișier | - |
description | Opțional Șir | - |
secondary_button_name | Opțional Șir | - |
secondary_button_url | Opțional Șir | - |
custom_css | Opțional Șir | - |
custom_js | Opțional Șir | - |
ads_header | Opțional Șir | - |
ads_footer | Opțional Șir | - |
link_unlock_seconds | Opțional Întreg | - |
auto_redirect | Opțional Boolean | - |
curl --request POST \
--url 'https://digily.link/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://digily.link/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://digily.link/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://digily.link/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://digily.link/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \