လင့်ခ်များ
GET https://tistos.com/api/links/
curl --request GET \
--url 'https://tistos.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
| အချက်အလက်များ | အသေးစိတ်များ | ဖော်ပြချက် |
|---|---|---|
| search | ရွေးချယ်နိုင်သည် စကားလုံး | ရှာဖွေရန် စာသား။ |
| search_by | ရွေးချယ်နိုင်သည် စကားလုံး | သင်ရှာဖွေနေသောနယ်ပယ်ကဘာလဲ။ ခွင့်ပြုထားသောတန်ဖိုးများမှာ: url, location_url။ |
| is_enabled | ရွေးချယ်နိုင်သည် ဘူလီယန် | |
| project_id | ရွေးချယ်နိုင်သည် အင်တာဂျာ | |
| domain_id | ရွေးချယ်နိုင်သည် အင်တာဂျာ | |
| type | ရွေးချယ်နိုင်သည် စကားလုံး |
biolink, link, file, vcard, event, static |
| datetime_field | ရွေးချယ်နိုင်သည် စကားလုံး | ခွင့်ပြုထားသောတန်ဖိုးများ: datetime, last_datetime |
| datetime_start | ရွေးချယ်နိုင်သည် စကားလုံး | ဤရက်စွဲနှင့် အချိန်မှစ၍ ရလဒ်များကို filter လုပ်ပါ။ Format Y-m-d H:i:s။ |
| datetime_end | ရွေးချယ်နိုင်သည် စကားလုံး | ဤရက်စွဲနှင့် အချိန်အထိ ရလဒ်များကို filter လုပ်ပါ။ Format Y-m-d H:i:s။ |
| order_by | ရွေးချယ်နိုင်သည် စကားလုံး | ရလဒ်များကို ဘယ်နယ်ပယ်အရ အစီအစဉ်ချမလဲ။ ခွင့်ပြုထားသော တန်ဖိုးများမှာ: link_id, datetime, last_datetime, clicks, url။ |
| order_type | ရွေးချယ်နိုင်သည် စကားလုံး | ရလဒ်များ၏ အစီအစဉ်။ ခွင့်ပြုထားသော တန်ဖိုးများမှာ ASC သည် အမြင့်ဆုံးမှ အနိမ့်ဆုံး အစီအစဉ်အတွက် ဖြစ်ပြီး DESC သည် အနိမ့်ဆုံးမှ အမြင့်ဆုံး အစီအစဉ်အတွက် ဖြစ်သည်။ |
| page | ရွေးချယ်နိုင်သည် အင်တာဂျာ | သင်လိုအပ်သောရလဒ်များကိုရယူလိုသောစာမျက်နှာနံပါတ်။ အခြေခံအားဖြင့် 1 ဖြစ်သည်။ |
| results_per_page | ရွေးချယ်နိုင်သည် အင်တာဂျာ | သင်သည် စာမျက်နှာတစ်ခုလျှင် ရလဒ်များ များစွာကို မည်မျှလိုချင်ပါသလဲ။ ခွင့်ပြုထားသော တန်ဖိုးများမှာ: 10, 25, 50, 100, 250, 500, 1000။ အခြေခံအားဖြင့် 25 ဖြစ်သည်။ |
{
"data": [
{
"id": 1,
"project_id": null,
"domain_id": 0,
"type": "link",
"url": "example",
"location_url": "https://example.com/",
"settings": {
"password": null,
"sensitive_content": false
},
"clicks": 10,
"order": 0,
"start_date": null,
"end_date": null,
"datetime": "2026-07-18 11:36:22",
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://tistos.com/api/links?page=1",
"last": "https://tistos.com/api/links?page=1",
"next": null,
"prev": null,
"self": "https://tistos.com/api/links?page=1"
}
}
GET https://tistos.com/api/links/{link_id}
curl --request GET \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"project_id": null,
"domain_id": 0,
"type": "link",
"url": "example",
"location_url": "https://example.com/",
"settings": {
"password": null,
"sensitive_content": false
},
"clicks": 10,
"order": 0,
"start_date": null,
"end_date": null,
"datetime": "2026-07-18 11:36:22",
}
}
POST https://tistos.com/api/links
| အချက်အလက်များ | အသေးစိတ်များ | ဖော်ပြချက် |
|---|---|---|
| type | ရွေးချယ်နိုင်သည် စကားလုံး | link |
| location_url | လိုအပ်သည် စကားလုံး | ရောက်ရှိမည့်နေရာ၏ URL။ရရှိနိုင်သောအချိန်: is_bulk = 0 |
| location_urls | လိုအပ်သည် စကားလုံး | ရောက်ရှိမည့်နေရာ၏ URL။ရရှိနိုင်သောအချိန်: is_bulk = 1 |
| url | ရွေးချယ်နိုင်သည် စကားလုံး | ထုတ်လုပ်ထားသောလင့်ခ်၏ URL အလီယပ်စ်။ စက်တင်မရှိအောင်သတ်မှတ်ပါ။ရရှိနိုင်သောအချိန်: is_bulk = 0 |
| is_bulk | ရွေးချယ်နိုင်သည် ဘူလီယန် | |
| domain_id | ရွေးချယ်နိုင်သည် အင်တာဂျာ | - |
| project_id | ရွေးချယ်နိုင်သည် အင်တာဂျာ | - |
| pixels_ids | ရွေးချယ်နိုင်သည် အစုအဝေး အင်တာဂျာ | - |
| email_reports | ရွေးချယ်နိုင်သည် အစုအဝေး | အသိပေးချက် ကိုင်တွယ်သူ ID များ |
| schedule | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| start_date | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: schedule = true |
| end_date | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: schedule = true |
| clicks_limit | ရွေးချယ်နိုင်သည် အင်တာဂျာ | - |
| expiration_url | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| sensitive_content | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| http_status_code | ရွေးချယ်နိုင်သည် အင်တာဂျာ | ခွင့်ပြုထားသောတန်ဖိုးများ: 301, 302, 307, 308 |
| app_linking_is_enabled | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| cloaking_is_enabled | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| cloaking_title | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| cloaking_meta_description | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| cloaking_custom_js | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| cloaking_favicon | ရွေးချယ်နိုင်သည် ဖိုင် | - |
| cloaking_opengraph | ရွေးချယ်နိုင်သည် ဖိုင် | - |
| password | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| forward_query_parameters_is_enabled | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| seo_block | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| utm_source | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| utm_medium | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| utm_campaign | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| targeting_type | ရွေးချယ်နိုင်သည် စကားလုံး | continent_code, country_code, device_type, browser_language, rotation, os_name, browser_name |
| targeting_continent_code_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = continent_code |
| targeting_continent_code_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = continent_code |
| targeting_country_code_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = country_code |
| targeting_country_code_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = country_code |
| targeting_city_name_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = city_name |
| targeting_city_name_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = city_name |
| targeting_device_type_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = device_type |
| targeting_device_type_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = device_type |
| targeting_browser_language_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = browser_language |
| targeting_browser_language_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = browser_language |
| targeting_rotation_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = rotation |
| targeting_rotation_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = rotation |
| targeting_os_name_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = os_name |
| targeting_os_name_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = os_name |
| targeting_browser_name_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = browser_name |
| targeting_browser_name_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = browser_name |
curl --request POST \
--url 'https://tistos.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://tistos.com/' \
--url 'https://tistos.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://tistos.com/' \
{
"data": {
"id": 1
}
}
POST https://tistos.com/api/links/{link_id}
| အချက်အလက်များ | အသေးစိတ်များ | ဖော်ပြချက် |
|---|---|---|
| location_url | ရွေးချယ်နိုင်သည် စကားလုံး | ရောက်ရှိမည့်နေရာ၏ URL။ |
| url | ရွေးချယ်နိုင်သည် စကားလုံး | ထုတ်လုပ်ထားသောလင့်ခ်၏ URL အလီယပ်စ်။ စက်တင်မရှိအောင်သတ်မှတ်ပါ။ |
| domain_id | ရွေးချယ်နိုင်သည် အင်တာဂျာ | - |
| project_id | ရွေးချယ်နိုင်သည် အင်တာဂျာ | - |
| pixels_ids | ရွေးချယ်နိုင်သည် အစုအဝေး အင်တာဂျာ | - |
| email_reports | ရွေးချယ်နိုင်သည် အစုအဝေး | အသိပေးချက် ကိုင်တွယ်သူ ID များ |
| schedule | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| start_date | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: schedule = true |
| end_date | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: schedule = true |
| clicks_limit | ရွေးချယ်နိုင်သည် အင်တာဂျာ | - |
| expiration_url | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| sensitive_content | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| http_status_code | ရွေးချယ်နိုင်သည် အင်တာဂျာ | ခွင့်ပြုထားသောတန်ဖိုးများ: 301, 302, 307, 308 |
| app_linking_is_enabled | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| cloaking_is_enabled | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| cloaking_title | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| cloaking_meta_description | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| cloaking_custom_js | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| cloaking_favicon | ရွေးချယ်နိုင်သည် ဖိုင် | - |
| cloaking_opengraph | ရွေးချယ်နိုင်သည် ဖိုင် | - |
| password | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| forward_query_parameters_is_enabled | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| seo_block | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
| utm_source | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| utm_medium | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| utm_campaign | ရွေးချယ်နိုင်သည် စကားလုံး | - |
| targeting_type | ရွေးချယ်နိုင်သည် စကားလုံး | continent_code, country_code, device_type, browser_language, rotation, os_name, browser_name |
| targeting_continent_code_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = continent_code |
| targeting_continent_code_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = continent_code |
| targeting_country_code_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = country_code |
| targeting_country_code_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = country_code |
| targeting_city_name_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = city_name |
| targeting_city_name_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = city_name |
| targeting_device_type_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = device_type |
| targeting_device_type_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = device_type |
| targeting_browser_language_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = browser_language |
| targeting_browser_language_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = browser_language |
| targeting_rotation_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = rotation |
| targeting_rotation_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = rotation |
| targeting_os_name_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = os_name |
| targeting_os_name_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = os_name |
| targeting_browser_name_key[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = browser_name |
| targeting_browser_name_value[index] | ရွေးချယ်နိုင်သည် စကားလုံး | ရရှိနိုင်သောအချိန်: targeting_type = browser_name |
| is_enabled | ရွေးချယ်နိုင်သည် ဘူလီယန် | - |
curl --request POST \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{
"data": {
"id": 1
}
}
DELETE https://tistos.com/api/links/{link_id}
curl --request DELETE \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://tistos.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \