Karşılama Sayfaları
GET https://linkhane.com/api/splash-pages/
curl --request GET \
--url 'https://linkhane.com/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://linkhane.com/api/splash-pages/' \
--header 'Authorization: Bearer {api_key}' \
| Parametreler | Ayrıntılar | Açıklama |
|---|---|---|
| search | İsteğe bağlı Metin | Aranacak metin. |
| search_by | İsteğe bağlı Metin | Arama yapılacak alan. İzin verilen değerler: name. |
| datetime_field | İsteğe bağlı Metin | İzin verilen değerler: datetime, last_datetime |
| datetime_start | İsteğe bağlı Metin | Bu tarih ve saatten itibaren sonuçları filtreler. Biçim: Y-m-d H:i:s. |
| datetime_end | İsteğe bağlı Metin | Bu tarih ve saate kadar sonuçları filtreler. Biçim: Y-m-d H:i:s. |
| order_by | İsteğe bağlı Metin | Sonuçların sıralanacağı alan. İzin verilen değerler: splash_page_id, datetime, last_datetime, name. |
| order_type | İsteğe bağlı Metin | Sonuçların sıralama yönü. İzin verilen değerler: artan sıra için ASC, azalan sıra için DESC. |
| page | İsteğe bağlı Tam sayı | Sonuçlarını almak istediğiniz sayfanın numarası. Varsayılan: 1. |
| results_per_page | İsteğe bağlı Tam sayı | Sayfa başına istediğiniz sonuç sayısı. İzin verilen değerler: 10, 25, 50, 100, 250, 500, 1000. Varsayılan: 25. |
{
"data": [
{
"id": 1,
"user_id": 1,
"name": "Example",
"title": "Example",
"description": "Example",
"link_unlock_seconds": "Example",
"auto_redirect": true,
"settings": [],
"last_datetime": null,
"datetime": "2026-12-02 04:19:57"
}
],
"meta": {
"page": 1,
"total_pages": 1,
"results_per_page": 25,
"total_results": 1
},
"links": {
"first": "https://linkhane.com/api/splash-pages?page=1",
"last": "https://linkhane.com/api/splash-pages?page=1",
"next": null,
"prev": null,
"self": "https://linkhane.com/api/splash-pages?page=1"
}
}
GET https://linkhane.com/api/splash-pages/{splash_page_id}
curl --request GET \
--url 'https://linkhane.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://linkhane.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"user_id": 1,
"name": "Example",
"title": "Example",
"description": "Example",
"link_unlock_seconds": "Example",
"auto_redirect": true,
"settings": [],
"last_datetime": null,
"datetime": "2026-12-02 04:19:57"
}
}
POST https://linkhane.com/api/splash-pages
| Parametreler | Ayrıntılar | Açıklama |
|---|---|---|
| name | Zorunlu Metin | - |
| title | İsteğe bağlı Metin | - |
| logo | İsteğe bağlı Dosya | - |
| favicon | İsteğe bağlı Dosya | - |
| opengraph | İsteğe bağlı Dosya | - |
| description | İsteğe bağlı Metin | - |
| secondary_button_name | İsteğe bağlı Metin | - |
| secondary_button_url | İsteğe bağlı Metin | - |
| custom_css | İsteğe bağlı Metin | - |
| custom_js | İsteğe bağlı Metin | - |
| ads_header | İsteğe bağlı Metin | - |
| ads_footer | İsteğe bağlı Metin | - |
| link_unlock_seconds | İsteğe bağlı Tam sayı | - |
| auto_redirect | İsteğe bağlı Mantıksal değer | - |
curl --request POST \
--url 'https://linkhane.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' \
--url 'https://linkhane.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,
"user_id": 1,
"name": "Example",
"title": "Example",
"description": "Example",
"link_unlock_seconds": "Example",
"auto_redirect": true,
"settings": [],
"last_datetime": null,
"datetime": "2026-12-02 04:19:57"
}
}
POST https://linkhane.com/api/splash-pages/{splash_page_id}
| Parametreler | Ayrıntılar | Açıklama |
|---|---|---|
| name | İsteğe bağlı Metin | - |
| title | İsteğe bağlı Metin | - |
| logo | İsteğe bağlı Dosya | - |
| favicon | İsteğe bağlı Dosya | - |
| opengraph | İsteğe bağlı Dosya | - |
| description | İsteğe bağlı Metin | - |
| secondary_button_name | İsteğe bağlı Metin | - |
| secondary_button_url | İsteğe bağlı Metin | - |
| custom_css | İsteğe bağlı Metin | - |
| custom_js | İsteğe bağlı Metin | - |
| ads_header | İsteğe bağlı Metin | - |
| ads_footer | İsteğe bağlı Metin | - |
| link_unlock_seconds | İsteğe bağlı Tam sayı | - |
| auto_redirect | İsteğe bağlı Mantıksal değer | - |
curl --request POST \
--url 'https://linkhane.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' \
--url 'https://linkhane.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,
"user_id": 1,
"name": "Example",
"title": "Example",
"description": "Example",
"link_unlock_seconds": "Example",
"auto_redirect": true,
"settings": [],
"last_datetime": null,
"datetime": "2026-12-02 04:19:57"
}
}
DELETE https://linkhane.com/api/splash-pages/{splash_page_id}
curl --request DELETE \
--url 'https://linkhane.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://linkhane.com/api/splash-pages/{splash_page_id}' \
--header 'Authorization: Bearer {api_key}' \