لينکونه
GET https://77qr.io/api/links/
curl --request GET \
--url 'https://77qr.io/api/links/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/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-03-12 16:00:11"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://77qr.io/api/links?&page=1",
"last": "https://77qr.io/api/links?&page=1",
"next": null,
"prev": null,
"self": "https://77qr.io/api/links?&page=1"
}
}
GET https://77qr.io/api/links/{link_id}
curl --request GET \
--url 'https://77qr.io/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/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-03-12 16:00:11"
}
}
POST https://77qr.io/api/links
پیرامیترونه | تفصیلات | تشریح |
---|---|---|
location_url | ضروري است. سلسله | د هدف URL. |
url | اختیاري سلسله | د تولید شوې لنک URL ایلیس. خالی ولرئ د یوازې تولید شوی لپاره. |
domain_id | اختیاري پورې | - |
project_id | اختیاري پورې | - |
pixels_ids | اختیاري اندازه پورې | - |
schedule | اختیاري بولین | - |
start_date | اختیاري سلسله | د schedule = true وخت ته اوسیدلای شي |
end_date | اختیاري سلسله | د 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] | اختیاري سلسله | د 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://77qr.io/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://77qr.io/' \
--url 'https://77qr.io/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://77qr.io/' \
{
"data": {
"id": 1
}
}
POST https://77qr.io/api/links/{link_id}
پیرامیترونه | تفصیلات | تشریح |
---|---|---|
location_url | اختیاري سلسله | د هدف URL. |
url | اختیاري سلسله | د تولید شوې لنک URL ایلیس. خالی ولرئ د یوازې تولید شوی لپاره. |
domain_id | اختیاري پورې | - |
project_id | اختیاري پورې | - |
pixels_ids | اختیاري اندازه پورې | - |
schedule | اختیاري بولین | - |
start_date | اختیاري سلسله | د schedule = true وخت ته اوسیدلای شي |
end_date | اختیاري سلسله | د 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] | اختیاري سلسله | د 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://77qr.io/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
--url 'https://77qr.io/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{
"data": {
"id": 1
}
}
DELETE https://77qr.io/api/links/{link_id}
curl --request DELETE \
--url 'https://77qr.io/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \