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:48:04"
},
],
"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:48:04"
}
}
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}' \