ပရောဂျက်များ
GET https://9qrcode.com/api/projects/
curl --request GET \
--url 'https://9qrcode.com/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
page | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | သင်လိုချင်သော စာမျက်နှာနံပါတ် ရလဒ်များ။ 1 အတွက် မူရင်းများ။ |
results_per_page | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | တစ်မျက်နှာလျှင် သင်လိုချင်သော ရလဒ်မည်မျှ။ ခွင့်ပြုထားသောတန်ဖိုးများမှာ- 10 , 25 , 50 , 100 , 250 , 500 , 1000 ။ 25 သို့ ပုံသေများ။ |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-04-11 00:52:47"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://9qrcode.com/api/projects?&page=1",
"last": "https://9qrcode.com/api/projects?&page=1",
"next": null,
"prev": null,
"self": "https://9qrcode.com/api/projects?&page=1"
}
}
GET https://9qrcode.com/api/projects/{project_id}
curl --request GET \
--url 'https://9qrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-04-11 00:52:47"
}
}
POST https://9qrcode.com/api/projects
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
name | လိုအပ်သည် စာကြောင်း | - |
color | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
curl --request POST \
--url 'https://9qrcode.com/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
--url 'https://9qrcode.com/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
{
"data": {
"id": 1
}
}
POST https://9qrcode.com/api/projects/{project_id}
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
name | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
color | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
curl --request POST \
--url 'https://9qrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#000000' \
--url 'https://9qrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#000000' \
{
"data": {
"id": 1
}
}
DELETE https://9qrcode.com/api/projects/{project_id}
curl --request DELETE \
--url 'https://9qrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \