လင့်ခ်များ
GET https://9qrcode.com/api/links/
curl --request GET \
--url 'https://9qrcode.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/links/' \
--header 'Authorization: Bearer {api_key}' \
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
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
},
"pageviews": 10,
"order": 0,
"start_date": null,
"end_date": null,
"datetime": "2025-04-11 00:50:01"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://9qrcode.com/api/links?&page=1",
"last": "https://9qrcode.com/api/links?&page=1",
"next": null,
"prev": null,
"self": "https://9qrcode.com/api/links?&page=1"
}
}
GET https://9qrcode.com/api/links/{link_id}
curl --request GET \
--url 'https://9qrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.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
},
"pageviews": 10,
"order": 0,
"start_date": null,
"end_date": null,
"datetime": "2025-04-11 00:50:01"
}
}
POST https://9qrcode.com/api/links
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
location_url | လိုအပ်သည် စာကြောင်း | ဦးတည်ရာ၏ URL။ |
url | ရွေးချယ်နိုင်သည် စာကြောင်း | ထုတ်လုပ်ထားသော လင့်ခ်၏ URL အတုအယောင်။ ကျပန်းထုတ်ပေးသည့်အရာအတွက် ဗလာကိုချန်ထားပါ။ |
domain_id | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | - |
project_id | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | - |
pixels_ids | ရွေးချယ်နိုင်သည် Array ကိန်းပြည့် | - |
schedule | ရွေးချယ်နိုင်သည် Boolean | - |
start_date | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: schedule = true |
end_date | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: schedule = true |
pageviews_limit | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | - |
expiration_url | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
password | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
forward_query_parameters_is_enabled | ရွေးချယ်နိုင်သည် Boolean | - |
utm_source | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
utm_medium | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
utm_campaign | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
sensitive_content | ရွေးချယ်နိုင်သည် Boolean | - |
http_status_code | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | ခွင့်ပြုထားသော တန်ဖိုးများ- 301 , 302 , 307 , 308 |
app_linking_is_enabled | ရွေးချယ်နိုင်သည် Boolean | - |
cloaking_is_enabled | ရွေးချယ်နိုင်သည် Boolean | - |
cloaking_title | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
cloaking_custom_js | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
cloaking_favicon | ရွေးချယ်နိုင်သည် ဖိုင် | - |
cloaking_opengraph | ရွေးချယ်နိုင်သည် ဖိုင် | - |
targeting_type | ရွေးချယ်နိုင်သည် စာကြောင်း | continent_code , country_code , city_name , device_type , browser_language , rotation , os_name , browser_name |
targeting_continent_code_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = continent_code |
targeting_continent_code_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = continent_code |
targeting_country_code_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = country_code |
targeting_country_code_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = country_code |
targeting_city_name_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = city_name |
targeting_city_name_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = city_name |
targeting_device_type_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = device_type |
targeting_device_type_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = device_type |
targeting_browser_language_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = browser_language |
targeting_browser_language_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = browser_language |
targeting_rotation_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = rotation |
targeting_rotation_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = rotation |
targeting_os_name_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = os_name |
targeting_os_name_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = os_name |
targeting_browser_name_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = browser_name |
targeting_browser_name_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = browser_name |
curl --request POST \
--url 'https://9qrcode.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://9qrcode.com/' \
--url 'https://9qrcode.com/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://9qrcode.com/' \
{
"data": {
"id": 1
}
}
POST https://9qrcode.com/api/links/{link_id}
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
location_url | ရွေးချယ်နိုင်သည် စာကြောင်း | ဦးတည်ရာ၏ URL။ |
url | ရွေးချယ်နိုင်သည် စာကြောင်း | ထုတ်လုပ်ထားသော လင့်ခ်၏ URL အတုအယောင်။ ကျပန်းထုတ်ပေးသည့်အရာအတွက် ဗလာကိုချန်ထားပါ။ |
domain_id | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | - |
project_id | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | - |
pixels_ids | ရွေးချယ်နိုင်သည် Array ကိန်းပြည့် | - |
schedule | ရွေးချယ်နိုင်သည် Boolean | - |
start_date | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: schedule = true |
end_date | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: schedule = true |
pageviews_limit | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | - |
expiration_url | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
password | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
forward_query_parameters_is_enabled | ရွေးချယ်နိုင်သည် Boolean | - |
utm_source | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
utm_medium | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
utm_campaign | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
sensitive_content | ရွေးချယ်နိုင်သည် Boolean | - |
http_status_code | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | ခွင့်ပြုထားသော တန်ဖိုးများ- 301 , 302 , 307 , 308 |
app_linking_is_enabled | ရွေးချယ်နိုင်သည် Boolean | - |
cloaking_is_enabled | ရွေးချယ်နိုင်သည် Boolean | - |
cloaking_title | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
cloaking_custom_js | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
cloaking_favicon | ရွေးချယ်နိုင်သည် ဖိုင် | - |
cloaking_opengraph | ရွေးချယ်နိုင်သည် ဖိုင် | - |
targeting_type | ရွေးချယ်နိုင်သည် စာကြောင်း | continent_code , country_code , city_name , device_type , browser_language , rotation , os_name , browser_name |
targeting_continent_code_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = continent_code |
targeting_continent_code_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = continent_code |
targeting_country_code_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = country_code |
targeting_country_code_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = country_code |
targeting_city_name_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = city_name |
targeting_city_name_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = city_name |
targeting_device_type_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = device_type |
targeting_device_type_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = device_type |
targeting_browser_language_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = browser_language |
targeting_browser_language_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = browser_language |
targeting_rotation_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = rotation |
targeting_rotation_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = rotation |
targeting_os_name_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = os_name |
targeting_os_name_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = os_name |
targeting_browser_name_key[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = browser_name |
targeting_browser_name_value[index] | ရွေးချယ်နိုင်သည် စာကြောင်း | Available when: targeting_type = browser_name |
curl --request POST \
--url 'https://9qrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://9qrcode.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://9qrcode.com/api/links/{link_id}
curl --request DELETE \
--url 'https://9qrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \