QR kodları

GET https://bibio.me/api/qr-codes/
curl --request GET \
--url 'https://bibio.me/api/qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parametreler Ayrıntılar Açıklama
page Optional Tamsayı Sonuç almak istediğiniz sayfa numarası. Varsayılan olarak 1 şeklindedir.
results_per_page Optional Tamsayı Sayfa başına kaç sonuç istersiniz. İzin verilen değerler: 10 , 25 , 50 , 100 , 250 , 500. Varsayılan olarak 25 şeklindedir.
{
    "data": [
        {
            "id": 1,
            "type": "url",
            "name": "Example name",
            "qr_code": "https://bibio.me/uploads/qr_code/example.svg",
            "qr_code_logo": null,
            "settings": {
                "foreground_type": "color",
                "foreground_color": "#000000",
                "background_color": "#ffffff",
                "custom_eyes_color": false,
                "qr_code_logo_size": 25,
                "size": 500,
                "margin": 0,
                "ecc": "L",
                "url": "https://example.com"
            },
            "last_datetime": "2021-10-31 09:47:25",
            "datetime": "2021-10-29 16:32:25"
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://bibio.me/api/qr-codes?&page=1",
        "last": "https://bibio.me/api/qr-codes?&page=1",
        "next": null,
        "prev": null,
        "self": "https://bibio.me/api/qr-codes?&page=1"
    }
}
GET https://bibio.me/api/qr-codes/{qr_code_id}
curl --request GET \
--url 'https://bibio.me/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "type": "url",
        "name": "Example name",
        "qr_code": "https://bibio.me/uploads/qr_code/example.svg",
        "qr_code_logo": null,
        "settings": {
            "foreground_type": "color",
            "foreground_color": "#000000",
            "background_color": "#ffffff",
            "custom_eyes_color": false,
            "qr_code_logo_size": 25,
            "size": 500,
            "margin": 0,
            "ecc": "L",
            "url": "https://example.com"
        },
        "last_datetime": "2021-10-31 09:47:25",
        "datetime": "2021-10-29 16:32:25"
    }
}
POST https://bibio.me/api/qr-codes
Parametreler Ayrıntılar Açıklama
project_id Optional Tamsayı -
name Gerekli Dize -
type Gerekli Dize text , url , phone , sms , email , whatsapp , facetime , location , wifi , event , crypto , vcard , paypal
style Optional Dize square, dot, round
foreground_type Optional Dize color, gradient
foreground_color Optional Dize (foreground_type=color)
foreground_gradient_style Optional Dize vertical horizontal diagonal inverse_diagonal radial (foreground_type=gradient)
foreground_gradient_one Optional Dize (foreground_type=gradient)
foreground_gradient_two Optional Dize (foreground_type=gradient)
background_color Optional Dize
background_color_transparency Optional Tamsayı
custom_eyes_color Optional Boolean
eyes_inner_color Optional Dize (custom_eyes_color=1)
eyes_outer_color Optional Dize (custom_eyes_color=1)
qr_code_logo Optional Dosya -
qr_code_logo_size Optional Tamsayı 5-35
size Optional Tamsayı 50-2000
margin Optional Tamsayı 0-25
ecc Optional Dize L, M, Q, H
text Optional Dize (type=text)
url Optional Dize (type=url)
phone Optional Dize (type=phone)
sms Optional Dize (type=sms)
email Optional Dize (type=email)
email_subject Optional Dize (type=email)
email_body Optional Dize (type=email)
whatsapp Optional Dize (type=whatsapp)
facetime Optional Dize (type=facetime)
location_latitude Optional Kayan (type=location)
location_longitude Optional Kayan (type=location)
wifi_ssid Optional Dize (type=wifi)
wifi_encryption Optional Dize nopass, WEP, WPA/WPA2 (type=wifi)
wifi_password Optional Dize (type=wifi)
wifi_is_hidden Optional Boolean (type=wifi)
event Optional Dize (type=event)
event_location Optional Dize (type=event)
event_url Optional Dize (type=event)
event_note Optional Dize (type=event)
event_timezone Optional Dize (type=event)
event_start_datetime Optional Dize (type=event)
event_end_datetime Optional Dize (type=event)
crypto_coin Optional Dize (type=crypto)
crypto_address Optional Dize (type=crypto)
crypto_amount Optional Dize (type=crypto)
vcard_first_name Optional Dize (type=vcard)
vcard_last_name Optional Dize (type=vcard)
vcard_phone Optional Dize (type=vcard)
vcard_email Optional Dize (type=vcard)
vcard_url Optional Dize (type=vcard)
vcard_job_title Optional Dize (type=vcard)
vcard_birthday Optional Dize (type=vcard)
vcard_street Optional Dize (type=vcard)
vcard_city Optional Dize (type=vcard)
vcard_zip Optional Dize (type=vcard)
vcard_region Optional Dize (type=vcard)
vcard_country Optional Dize (type=vcard)
vcard_note Optional Dize (type=vcard)
vcard_social_label[index] Optional Dize (type=vcard)
vcard_social_value[index] Optional Dize (type=vcard)
curl --request POST \
--url 'https://bibio.me/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
    }
}
POST https://bibio.me/api/qr-codes/{qr_code_id}
Parametreler Ayrıntılar Açıklama
project_id Optional Dize -
name Optional Dize -
type Optional Dize text , url , phone , sms , email , whatsapp , facetime , location , wifi , event , crypto , vcard , paypal
style Optional Dize square, dot, round
foreground_type Optional Dize color, gradient
foreground_color Optional Dize (foreground_type=color)
foreground_gradient_style Optional Dize vertical horizontal diagonal inverse_diagonal radial (foreground_type=gradient)
foreground_gradient_one Optional Dize (foreground_type=gradient)
foreground_gradient_two Optional Dize (foreground_type=gradient)
background_color Optional Dize
background_color_transparency Optional Tamsayı
custom_eyes_color Optional Boolean
eyes_inner_color Optional Dize (custom_eyes_color=1)
eyes_outer_color Optional Dize (custom_eyes_color=1)
qr_code_logo Optional Dosya -
qr_code_logo_size Optional Tamsayı 5-35
size Optional Tamsayı 50-2000
margin Optional Tamsayı 0-25
ecc Optional Dize L, M, Q, H
text Optional Dize (type=text)
url Optional Dize (type=url)
phone Optional Dize (type=phone)
sms Optional Dize (type=sms)
email Optional Dize (type=email)
email_subject Optional Dize (type=email)
email_body Optional Dize (type=email)
whatsapp Optional Dize (type=whatsapp)
facetime Optional Dize (type=facetime)
location_latitude Optional Kayan (type=location)
location_longitude Optional Kayan (type=location)
wifi_ssid Optional Dize (type=wifi)
wifi_encryption Optional Dize nopass, WEP, WPA/WPA2 (type=wifi)
wifi_password Optional Dize (type=wifi)
wifi_is_hidden Optional Boolean (type=wifi)
event Optional Dize (type=event)
event_location Optional Dize (type=event)
event_url Optional Dize (type=event)
event_note Optional Dize (type=event)
event_timezone Optional Dize (type=event)
event_start_datetime Optional Dize (type=event)
event_end_datetime Optional Dize (type=event)
crypto_coin Optional Dize (type=crypto)
crypto_address Optional Dize (type=crypto)
crypto_amount Optional Dize (type=crypto)
vcard_first_name Optional Dize (type=vcard)
vcard_last_name Optional Dize (type=vcard)
vcard_phone Optional Dize (type=vcard)
vcard_email Optional Dize (type=vcard)
vcard_url Optional Dize (type=vcard)
vcard_job_title Optional Dize (type=vcard)
vcard_birthday Optional Dize (type=vcard)
vcard_street Optional Dize (type=vcard)
vcard_city Optional Dize (type=vcard)
vcard_zip Optional Dize (type=vcard)
vcard_region Optional Dize (type=vcard)
vcard_country Optional Dize (type=vcard)
vcard_note Optional Dize (type=vcard)
vcard_social_label[index] Optional Dize (type=vcard)
vcard_social_value[index] Optional Dize (type=vcard)
curl --request POST \
--url 'https://bibio.me/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{
  "data": {
    "id": 1
  }
}
DELETE https://bibio.me/api/qr-codes/{qr_code_id}
curl --request DELETE \
--url 'https://bibio.me/api/qr-codes/{qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \