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 15:39:42"
},
],
"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 15:39:42"
}
}
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}' \