AI QR codes
GET https://qrc.my/public/api/ai-qr-codes/
curl --request GET \
--url 'https://qrc.my/public/api/ai-qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrc.my/public/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://qrc.my/public/uploads/ai_qr_codes/example.png",
"content": "https://qrc.my/public/",
"prompt": "Nature scenery at sunset, waterfall, wild animals and sunshine rays"
"embedded_data": "https://qrc.my/public/",
"embedded_data": "https://example.com",
"last_datetime": null,
"datetime": "2025-11-03 23:43:46",
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://qrc.my/public/api/ai-qr-codes?page=1",
"last": "https://qrc.my/public/api/ai-qr-codes?page=1",
"next": null,
"prev": null,
"self": "https://qrc.my/public/api/ai-qr-codes?page=1"
}
}
GET https://qrc.my/public/api/ai-qr-codes/{ai_qr_code_id}
curl --request GET \
--url 'https://qrc.my/public/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrc.my/public/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Example name",
"ai_qr_code": "https://qrc.my/public/uploads/ai_qr_codes/example.png",
"content": "https://qrc.my/public/",
"prompt": "Nature scenery at sunset, waterfall, wild animals and sunshine rays"
"embedded_data": "https://qrc.my/public/",
"last_datetime": null,
"datetime": "2025-11-03 23:43:46",
}
}
POST https://qrc.my/public/api/ai-qr-codes
| Параметры | Детали | Описание |
|---|---|---|
| link_id | Необязательный Целое число | - |
| project_id | Необязательный Целое число | - |
| name | Обязательный Строка | - |
| content | Обязательный Строка | - |
| prompt | Обязательный Строка | - |
| Параметры | Детали | Описание |
|---|---|---|
curl --request POST \
--url 'https://qrc.my/public/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://qrc.my/public/' \
--url 'https://qrc.my/public/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://qrc.my/public/' \
{
"data": {
"id": 1
}
}
POST https://qrc.my/public/api/ai-qr-codes/{ai_qr_code_id}
| Параметры | Детали | Описание |
|---|---|---|
| link_id | Необязательный Целое число | - |
| project_id | Необязательный Строка | - |
| name | Необязательный Строка | - |
| content | Необязательный Строка | - |
| prompt | Необязательный Строка | - |
curl --request POST \
--url 'https://qrc.my/public/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://qrc.my/public/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://qrc.my/public/api/ai-qr-codes/{ai_qr_code_id}
curl --request DELETE \
--url 'https://qrc.my/public/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrc.my/public/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \