AI QR codes
GET https://77qr.io/api/ai-qr-codes/
curl --request GET \
--url 'https://77qr.io/api/ai-qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/ai-qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
พารามิเตอร์ | รายละเอียด | คำอธิบาย |
---|---|---|
page | ตัวเลือก จำนวนเต็ม | หมายเลขหน้าที่คุณต้องการผลลัพธ์ ค่าเริ่มต้นคือ 1 |
results_per_page | ตัวเลือก จำนวนเต็ม | คุณต้องการผลลัพธ์กี่รายการต่อหน้า ค่าที่อนุญาตคือ: 10 , 25 , 50 , 100 , 250 , 500 , 1000 ค่าเริ่มต้นคือ 25 |
{
"data": [
{
"id": 1,
"name": "Example name",
"ai_qr_code": "https://77qr.io/uploads/ai_qr_codes/example.png",
"content": "https://77qr.io/",
"prompt": "Nature scenery at sunset, waterfall, wild animals and sunshine rays"
"embedded_data": "https://77qr.io/",
"embedded_data": "https://example.com",
"last_datetime": null,
"datetime": "2025-03-12 14:39:36"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://77qr.io/api/ai-qr-codes?&page=1",
"last": "https://77qr.io/api/ai-qr-codes?&page=1",
"next": null,
"prev": null,
"self": "https://77qr.io/api/ai-qr-codes?&page=1"
}
}
GET https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}
curl --request GET \
--url 'https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Example name",
"ai_qr_code": "https://77qr.io/uploads/ai_qr_codes/example.png",
"content": "https://77qr.io/",
"prompt": "Nature scenery at sunset, waterfall, wild animals and sunshine rays"
"embedded_data": "https://77qr.io/",
"last_datetime": null,
"datetime": "2025-03-12 14:39:36"
}
}
POST https://77qr.io/api/ai-qr-codes
พารามิเตอร์ | รายละเอียด | คำอธิบาย |
---|---|---|
link_id | ตัวเลือก จำนวนเต็ม | - |
project_id | ตัวเลือก จำนวนเต็ม | - |
name | จำเป็น สตริง | - |
content | จำเป็น สตริง | - |
prompt | จำเป็น สตริง | - |
พารามิเตอร์ | รายละเอียด | คำอธิบาย |
---|---|---|
curl --request POST \
--url 'https://77qr.io/api/ai-qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'prompt=Nature scenery at sunset, waterfall, wild animals and sunshine rays' \
--form 'content=https://77qr.io/' \
--url 'https://77qr.io/api/ai-qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'prompt=Nature scenery at sunset, waterfall, wild animals and sunshine rays' \
--form 'content=https://77qr.io/' \
{
"data": {
"id": 1
}
}
POST https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}
พารามิเตอร์ | รายละเอียด | คำอธิบาย |
---|---|---|
link_id | ตัวเลือก จำนวนเต็ม | - |
project_id | ตัวเลือก สตริง | - |
name | ตัวเลือก สตริง | - |
content | ตัวเลือก สตริง | - |
prompt | ตัวเลือก สตริง | - |
curl --request POST \
--url 'https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
--url 'https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{
"data": {
"id": 1
}
}
DELETE https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}
curl --request DELETE \
--url 'https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \