ဘာကိုယ်စားသွင်းနေသည်လို့
GET https://77qr.io/api/barcodes/
curl --request GET \
--url 'https://77qr.io/api/barcodes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/barcodes/' \
--header 'Authorization: Bearer {api_key}' \
အဆိုပါမှာကိုယ်ပိုင်အလိုအလျောက်များဖြစ်ပါသည်။ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
page | အရမ်းကိုင်း ဂဏန်း | သင်သို့ရှာရန် စာမျက်နှာနံပါတ်ကို ရွေးချယ်ပါ။ မူလစာမျက်နှာနံပါတ်သည် 1 ဖြစ်သည်။ |
results_per_page | အရမ်းကိုင်း ဂဏန်း | ထုတ်လုပ်မည့် ရလဒါတစ်ခုမှာ အုပ်စုများမှာ ဘယ်နှစ်ကြောင်းလုပ်လိုပါသလဲ။ ခွင့်ပြုနိုင်သောတန်ဖိုးတန်ဖိုးများတွင်: 10 , 25 , 50 , 100 , 250 , 500 , 1000 ။ 25 သည် မူလအတိုင်း သတ်မှတ်ထားပါသည်။ |
{
"data": [
{
"id": 1,
"type": "C32",
"name": "Example name",
"value": "123456",
"barcode": "https://77qr.io/uploads/barcode/example.svg",
"settings": {
"foreground_color": "#000000",
"width_scale": 2,
"height": 50,
},
"embedded_data": "123456",
"last_datetime": null,
"datetime": "2025-03-12 15:45:49"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://77qr.io/api/barcodes?&page=1",
"last": "https://77qr.io/api/barcodes?&page=1",
"next": null,
"prev": null,
"self": "https://77qr.io/api/barcodes?&page=1"
}
}
GET https://77qr.io/api/barcodes/{barcode_id}
curl --request GET \
--url 'https://77qr.io/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"type": "C32",
"name": "Example name",
"value": "123456",
"barcode": "https://77qr.io/uploads/barcode/example.svg",
"settings": {
"foreground_color": "#000000",
"width_scale": 2,
"height": 50,
},
"embedded_data": "123456",
"last_datetime": null,
"datetime": "2025-03-12 15:45:49"
}
}
POST https://77qr.io/api/barcodes
အဆိုပါမှာကိုယ်ပိုင်အလိုအလျောက်များဖြစ်ပါသည်။ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
project_id | အရမ်းကိုင်း ဂဏန်း | - |
name | လိုအပ်ပါသည်။ စာ | - |
type | လိုအပ်ပါသည်။ စာ | ခွင့်ပြုပါသောတန်ဖိုးများ: C32 , C39 , C39+ , C39E , C39E+ , C93 , S25 , S25+ , I25 , I25+ , ITF14 , C128 , C128A , C128B , C128C , EAN2 , EAN5 , EAN8 , EAN13 , UPCA , UPCE , MSI , MSI+ , POSTNET , PLANET , TELEPENALPHA , TELEPENNUMERIC , RMS4CC , KIX , IMB , CODABAR , CODE11 , PHARMA , PHARMA2T |
is_bulk | အရမ်းကိုင်း ဖျက်သိမ်းခြင်း | |
value | လိုအပ်ပါသည်။ စာ | - |
foreground_color | အရမ်းကိုင်း စာ | - |
width_scale | အရမ်းကိုင်း ဂဏန်း | 1-10 |
height | အရမ်းကိုင်း ဂဏန်း | 30-1000 |
အဆိုပါမှာကိုယ်ပိုင်အလိုအလျောက်များဖြစ်ပါသည်။ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
curl --request POST \
--url 'https://77qr.io/api/barcodes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
--url 'https://77qr.io/api/barcodes' \
--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://77qr.io/api/barcodes/{barcode_id}
အဆိုပါမှာကိုယ်ပိုင်အလိုအလျောက်များဖြစ်ပါသည်။ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
project_id | အရမ်းကိုင်း စာ | - |
name | အရမ်းကိုင်း စာ | - |
type | အရမ်းကိုင်း စာ | ခွင့်ပြုပါသောတန်ဖိုးများ: C32 , C39 , C39+ , C39E , C39E+ , C93 , S25 , S25+ , I25 , I25+ , ITF14 , C128 , C128A , C128B , C128C , EAN2 , EAN5 , EAN8 , EAN13 , UPCA , UPCE , MSI , MSI+ , POSTNET , PLANET , TELEPENALPHA , TELEPENNUMERIC , RMS4CC , KIX , IMB , CODABAR , CODE11 , PHARMA , PHARMA2T |
value | လိုအပ်ပါသည်။ စာ | - |
foreground_color | အရမ်းကိုင်း စာ | - |
width_scale | အရမ်းကိုင်း ဂဏန်း | 1-10 |
height | အရမ်းကိုင်း ဂဏန်း | 30-1000 |
curl --request POST \
--url 'https://77qr.io/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
--url 'https://77qr.io/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{
"data": {
"id": 1
}
}
DELETE https://77qr.io/api/barcodes/{barcode_id}
curl --request DELETE \
--url 'https://77qr.io/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \