AI QR kodları
GET https://on4net.tr/api/ai-qr-codes/
curl --request GET \
--url 'https://on4net.tr/api/ai-qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://on4net.tr/api/ai-qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parametreler | Detaylar | Açıklama |
---|---|---|
page | İsteğe bağlı Tamsayı | Sonuçları istediğiniz sayfa numarası. Varsayılan olarak 1 . |
results_per_page | İsteğe bağlı Tamsayı | Sayfa başına kaç sonuç istediğiniz. İzin verilen değerler: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Varsayılan olarak 25 . |
{
"data": [
{
"id": 1,
"name": "Example name",
"ai_qr_code": "https://on4net.tr/uploads/ai_qr_codes/example.png",
"content": "https://on4net.tr/",
"prompt": "Gün batımında doğa manzarası, şelale, vahşi hayvanlar ve güneş ışınları"
"embedded_data": "https://on4net.tr/",
"embedded_data": "https://example.com",
"last_datetime": null,
"datetime": "2025-08-26 20:05:39"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://on4net.tr/api/ai-qr-codes?&page=1",
"last": "https://on4net.tr/api/ai-qr-codes?&page=1",
"next": null,
"prev": null,
"self": "https://on4net.tr/api/ai-qr-codes?&page=1"
}
}
GET https://on4net.tr/api/ai-qr-codes/{ai_qr_code_id}
curl --request GET \
--url 'https://on4net.tr/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://on4net.tr/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Example name",
"ai_qr_code": "https://on4net.tr/uploads/ai_qr_codes/example.png",
"content": "https://on4net.tr/",
"prompt": "Gün batımında doğa manzarası, şelale, vahşi hayvanlar ve güneş ışınları"
"embedded_data": "https://on4net.tr/",
"last_datetime": null,
"datetime": "2025-08-26 20:05:39"
}
}
POST https://on4net.tr/api/ai-qr-codes
Parametreler | Detaylar | Açıklama |
---|---|---|
link_id | İsteğe bağlı Tamsayı | - |
project_id | İsteğe bağlı Tamsayı | - |
name | Gerekli Dize | - |
content | Gerekli Dize | - |
prompt | Gerekli Dize | - |
Parametreler | Detaylar | Açıklama |
---|---|---|
curl --request POST \
--url 'https://on4net.tr/api/ai-qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'prompt=Gün batımında doğa manzarası, şelale, vahşi hayvanlar ve güneş ışınları' \
--form 'content=https://on4net.tr/' \
--url 'https://on4net.tr/api/ai-qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'prompt=Gün batımında doğa manzarası, şelale, vahşi hayvanlar ve güneş ışınları' \
--form 'content=https://on4net.tr/' \
{
"data": {
"id": 1
}
}
POST https://on4net.tr/api/ai-qr-codes/{ai_qr_code_id}
Parametreler | Detaylar | Açıklama |
---|---|---|
link_id | İsteğe bağlı Tamsayı | - |
project_id | İsteğe bağlı Dize | - |
name | İsteğe bağlı Dize | - |
content | İsteğe bağlı Dize | - |
prompt | İsteğe bağlı Dize | - |
curl --request POST \
--url 'https://on4net.tr/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://on4net.tr/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://on4net.tr/api/ai-qr-codes/{ai_qr_code_id}
curl --request DELETE \
--url 'https://on4net.tr/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://on4net.tr/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \