ລິ້ງ
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:46:43"
}
],
"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:46:43"
}
}
POST https://9qrcode.com/api/links
ຂໍ້ຄວາມປະກອບ | ລາຍລະອຽດ | ລາຍລະອຽດ |
---|---|---|
location_url | ຕ້ອງການ ຂໍ້ຄວາມ | ທີ່ຢູ່ URL ຂອງຄໍາຮ້ອງຂ້າງ |
url | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | ຊື່ສະຫຼັບ URL ຂອງລິ້ງທີ່ສ້າງຂໍ້ມູນ. ອອກໃຫ້ວ່າວ່າມີຄຳສັ່ງວ່າວ່າສໍາລັບສໍາລັບທີ່ສ້າງຂໍ້ມູນອື່ນອື່ນ. |
domain_id | ບໍ່ຈຳກັດ ຕົວໜຶ່ງ | - |
project_id | ບໍ່ຈຳກັດ ຕົວໜຶ່ງ | - |
pixels_ids | ບໍ່ຈຳກັດ ຄົນກຳລັງມີຄວາມຄິດວ່າ: Array ຕົວໜຶ່ງ | - |
schedule | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
start_date | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | Available when: schedule = true |
end_date | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | Available when: schedule = true |
pageviews_limit | ບໍ່ຈຳກັດ ຕົວໜຶ່ງ | - |
expiration_url | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
password | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
forward_query_parameters_is_enabled | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
utm_source | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
utm_medium | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
utm_campaign | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
sensitive_content | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
http_status_code | ບໍ່ຈຳກັດ ຕົວໜຶ່ງ | ຄ່າທີ່ອະນຸຍາດ: 301 , 302 , 307 , 308 |
app_linking_is_enabled | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
cloaking_is_enabled | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
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 | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
start_date | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | Available when: schedule = true |
end_date | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | Available when: schedule = true |
pageviews_limit | ບໍ່ຈຳກັດ ຕົວໜຶ່ງ | - |
expiration_url | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
password | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
forward_query_parameters_is_enabled | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
utm_source | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
utm_medium | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
utm_campaign | ບໍ່ຈຳກັດ ຂໍ້ຄວາມ | - |
sensitive_content | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
http_status_code | ບໍ່ຈຳກັດ ຕົວໜຶ່ງ | ຄ່າທີ່ອະນຸຍາດ: 301 , 302 , 307 , 308 |
app_linking_is_enabled | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
cloaking_is_enabled | ບໍ່ຈຳກັດ ບຸກຄົນ | - |
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}' \