Página Anúncio
GET https://bio.p8w.app/api/splash-pages/
curl --request GET \
--url 'https://bio.p8w.app/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://bio.p8w.app/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
Parâmetros | Detalhes | Descrição |
---|---|---|
page | Opcional Inteiro | O número da página de onde você deseja obter resultados. O padrão é 1 . |
results_per_page | Opcional Inteiro | Quantos resultados você deseja por página. Valores permitidos são: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . O padrão é 25 . |
{ "data": [ { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-09-19 10:52:46", }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://bio.p8w.app/api/projects?page=1", "last": "https://bio.p8w.app/api/projects?page=1", "next": null, "prev": null, "self": "https://bio.p8w.app/api/projects?page=1" } }
GET https://bio.p8w.app/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://bio.p8w.app/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://bio.p8w.app/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-09-19 10:52:46", } }
POST https://bio.p8w.app/api/projects
Parâmetros | Detalhes | Descrição |
---|---|---|
name | Necessário Corda | - |
title | Opcional Corda | - |
logo | Opcional Arquivo | - |
favicon | Opcional Arquivo | - |
opengraph | Opcional Arquivo | - |
description | Opcional Corda | - |
secondary_button_name | Opcional Corda | - |
secondary_button_url | Opcional Corda | - |
custom_css | Opcional Corda | - |
custom_js | Opcional Corda | - |
ads_header | Opcional Corda | - |
ads_footer | Opcional Corda | - |
link_unlock_seconds | Opcional Inteiro | - |
auto_redirect | Opcional Booleano | - |
curl --request POST \
--url 'https://bio.p8w.app/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://bio.p8w.app/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://bio.p8w.app/api/splash-pages/{splash_page_id}
Parâmetros | Detalhes | Descrição |
---|---|---|
name | Opcional Corda | - |
title | Opcional Corda | - |
logo | Opcional Arquivo | - |
favicon | Opcional Arquivo | - |
opengraph | Opcional Arquivo | - |
description | Opcional Corda | - |
secondary_button_name | Opcional Corda | - |
secondary_button_url | Opcional Corda | - |
custom_css | Opcional Corda | - |
custom_js | Opcional Corda | - |
ads_header | Opcional Corda | - |
ads_footer | Opcional Corda | - |
link_unlock_seconds | Opcional Inteiro | - |
auto_redirect | Opcional Booleano | - |
curl --request POST \
--url 'https://bio.p8w.app/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://bio.p8w.app/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://bio.p8w.app/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://bio.p8w.app/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://bio.p8w.app/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \