QR Kodlar
GET https://linkhane.com/api/qr-codes/
curl --request GET \
--url 'https://linkhane.com/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://linkhane.com/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
| Parametreler | Ayrıntılar | Açıklama |
|---|---|---|
| search | İsteğe bağlı Metin | Aranacak metin. |
| search_by | İsteğe bağlı Metin | Arama yapılacak alan. İzin verilen değerler: name. |
| project_id | İsteğe bağlı Tam sayı | |
| type | İsteğe bağlı Metin | Arama yapılacak alan. İzin verilen değerler: text, url, phone, sms, email, whatsapp, facetime, facetime_audio, location, wifi, event, vcard, crypto, paypal, epc. |
| datetime_field | İsteğe bağlı Metin | İzin verilen değerler: datetime, last_datetime |
| datetime_start | İsteğe bağlı Metin | Bu tarih ve saatten itibaren sonuçları filtreler. Biçim: Y-m-d H:i:s. |
| datetime_end | İsteğe bağlı Metin | Bu tarih ve saate kadar sonuçları filtreler. Biçim: Y-m-d H:i:s. |
| order_by | İsteğe bağlı Metin | Sonuçların sıralanacağı alan. İzin verilen değerler: qr_code_id, datetime, last_datetime, name, type. |
| order_type | İsteğe bağlı Metin | Sonuçların sıralama yönü. İzin verilen değerler: artan sıra için ASC, azalan sıra için DESC. |
| page | İsteğe bağlı Tam sayı | Sonuçlarını almak istediğiniz sayfanın numarası. Varsayılan: 1. |
| results_per_page | İsteğe bağlı Tam sayı | Sayfa başına istediğiniz sonuç sayısı. İzin verilen değerler: 10, 25, 50, 100, 250, 500, 1000. Varsayılan: 25. |
{
"data": [
{
"id": 1,
"user_id": 1,
"link_id": 1,
"type": "Example",
"name": "Example",
"qr_code": "Example",
"qr_code_logo": "Example",
"qr_code_background": "Example",
"qr_code_foreground": "Example",
"settings": [],
"embedded_data": "Example",
"last_datetime": null,
"datetime": "2026-12-02 04:19:07"
}
],
"meta": {
"page": 1,
"total_pages": 1,
"results_per_page": 25,
"total_results": 1
},
"links": {
"first": "https://linkhane.com/api/qr-codes?page=1",
"last": "https://linkhane.com/api/qr-codes?page=1",
"next": null,
"prev": null,
"self": "https://linkhane.com/api/qr-codes?page=1"
}
}
GET https://linkhane.com/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://linkhane.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://linkhane.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"user_id": 1,
"link_id": 1,
"name": "Example",
"type": "Example",
"qr_code": "Example",
"qr_code_logo": "Example",
"qr_code_background": "Example",
"qr_code_foreground": "Example",
"settings": [],
"embedded_data": "Example",
"last_datetime": null,
"datetime": "2026-12-02 04:19:07"
}
}
POST https://linkhane.com/api/qr-codes
| Parametreler | Ayrıntılar | Açıklama |
|---|---|---|
curl --request POST \
--url 'https://linkhane.com/api/qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
--url 'https://linkhane.com/api/qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
{
"data": {
"id": 1,
"user_id": 1,
"link_id": 1,
"name": "Example",
"type": "Example",
"qr_code": "Example",
"qr_code_logo": "Example",
"qr_code_background": "Example",
"qr_code_foreground": "Example",
"settings": [],
"embedded_data": "Example",
"last_datetime": null,
"datetime": "2026-12-02 04:19:07"
}
}
POST https://linkhane.com/api/qr-codes/{qr_code_id}
curl --request POST \
--url 'https://linkhane.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
--url 'https://linkhane.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{
"data": {
"id": 1,
"user_id": 1,
"link_id": 1,
"name": "Example",
"type": "Example",
"qr_code": "Example",
"qr_code_logo": "Example",
"qr_code_background": "Example",
"qr_code_foreground": "Example",
"settings": [],
"embedded_data": "Example",
"last_datetime": null,
"datetime": "2026-12-02 04:19:07"
}
}
DELETE https://linkhane.com/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://linkhane.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://linkhane.com/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \