رموز QR
GET https://qr8.tech/api/qr-codes/
curl --request GET \
--url 'https://qr8.tech/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qr8.tech/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
| المعاملات (Parameters) | التفاصيل | الوصف |
|---|---|---|
| search | اختياري نص (String) | نص البحث. |
| search_by | اختياري نص (String) | الحقل المستهدف بالبحث. القيم المسموح بها: name. |
| project_id | اختياري عدد صحيح (Integer) | |
| type | اختياري نص (String) | الحقل المستهدف بالبحث. القيم المسموح بها: text, url, phone, sms, email, whatsapp, facetime, location, wifi, event, vcard, crypto, paypal, upi, epc, pix. |
| datetime_field | اختياري نص (String) | القيم المسموح بها: datetime, last_datetime |
| datetime_start | اختياري نص (String) | تصفية النتائج ابتداءً من هذا التاريخ والوقت. بالصيغة: Y-m-d H:i:s. |
| datetime_end | اختياري نص (String) | تصفية النتائج حتى هذا التاريخ والوقت. بالصيغة: Y-m-d H:i:s. |
| order_by | اختياري نص (String) | الحقل المستخدم لترتيب النتائج. القيم المسموح بها: qr_code_id, datetime, last_datetime, name, type. |
| order_type | اختياري نص (String) | اتجاه ترتيب النتائج. القيم المسموح بها هي: ASC للترتيب التصاعدي، وDESC للترتيب التنازلي. |
| page | اختياري عدد صحيح (Integer) | رقم الصفحة التي ترغب في جلب نتائجها. القيمة الافتراضية هي 1. |
| results_per_page | اختياري عدد صحيح (Integer) | عدد النتائج المطلوبة في كل صفحة. القيم المسموح بها هي: 10, 25, 50, 100, 250, 500, 1000. القيمة الافتراضية هي 25. |
{
"data": [
{
"id": 1,
"user_id": 1,
"link_id": 1,
"type": "Example",
"name": "Example",
"qr_code": "Example",
"qr_code_logo": "Example",
"qr_code_background": "Example",
"qr_code_foreground": "Example",
"settings": [],
"embedded_data": "Example",
"last_datetime": null,
"datetime": "2026-11-23 15:12:47"
}
],
"meta": {
"page": 1,
"total_pages": 1,
"results_per_page": 25,
"total_results": 1
},
"links": {
"first": "https://qr8.tech/api/qr-codes?page=1",
"last": "https://qr8.tech/api/qr-codes?page=1",
"next": null,
"prev": null,
"self": "https://qr8.tech/api/qr-codes?page=1"
}
}
GET https://qr8.tech/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://qr8.tech/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qr8.tech/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"user_id": 1,
"link_id": 1,
"name": "Example",
"type": "Example",
"qr_code": "Example",
"qr_code_logo": "Example",
"qr_code_background": "Example",
"qr_code_foreground": "Example",
"settings": [],
"embedded_data": "Example",
"last_datetime": null,
"datetime": "2026-11-23 15:12:47"
}
}
POST https://qr8.tech/api/qr-codes
| المعاملات (Parameters) | التفاصيل | الوصف |
|---|---|---|
curl --request POST \
--url 'https://qr8.tech/api/qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
--url 'https://qr8.tech/api/qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
{
"data": {
"id": 1,
"user_id": 1,
"link_id": 1,
"name": "Example",
"type": "Example",
"qr_code": "Example",
"qr_code_logo": "Example",
"qr_code_background": "Example",
"qr_code_foreground": "Example",
"settings": [],
"embedded_data": "Example",
"last_datetime": null,
"datetime": "2026-11-23 15:12:47"
}
}
POST https://qr8.tech/api/qr-codes/{qr_code_id}
curl --request POST \
--url 'https://qr8.tech/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
--url 'https://qr8.tech/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{
"data": {
"id": 1,
"user_id": 1,
"link_id": 1,
"name": "Example",
"type": "Example",
"qr_code": "Example",
"qr_code_logo": "Example",
"qr_code_background": "Example",
"qr_code_foreground": "Example",
"settings": [],
"embedded_data": "Example",
"last_datetime": null,
"datetime": "2026-11-23 15:12:47"
}
}
DELETE https://qr8.tech/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://qr8.tech/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qr8.tech/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \