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 16:02:34"
},
],
"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 16:02:34"
}
}
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}' \