အလုပ်အခမဲများ

GET https://77qr.io/api/projects/
curl --request GET \
--url 'https://77qr.io/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
အဆိုပါမှာကိုယ်ပိုင်အလိုအလျောက်များဖြစ်ပါသည်။ အသေးစိတ်များ ဖော်ပြချက်
page အရမ်းကိုင်း ဂဏန်း သင်သို့ရှာရန် စာမျက်နှာနံပါတ်ကို ရွေးချယ်ပါ။ မူလစာမျက်နှာနံပါတ်သည် 1 ဖြစ်သည်။
results_per_page အရမ်းကိုင်း ဂဏန်း ထုတ်လုပ်မည့် ရလဒါတစ်ခုမှာ အုပ်စုများမှာ ဘယ်နှစ်ကြောင်းလုပ်လိုပါသလဲ။ ခွင့်ပြုနိုင်သောတန်ဖိုးတန်ဖိုးများတွင်: 10 , 25 , 50 , 100 , 250 , 500 , 100025 သည် မူလအတိုင်း သတ်မှတ်ထားပါသည်။
{ "data": [ { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-03-12 15:28:50" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://77qr.io/api/projects?&page=1", "last": "https://77qr.io/api/projects?&page=1", "next": null, "prev": null, "self": "https://77qr.io/api/projects?&page=1" } }
GET https://77qr.io/api/projects/{project_id}
curl --request GET \
--url 'https://77qr.io/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "name": "Development", "color": "#0e23cc", "last_datetime": null, "datetime": "2025-03-12 15:28:50" } }
POST https://77qr.io/api/projects
အဆိုပါမှာကိုယ်ပိုင်အလိုအလျောက်များဖြစ်ပါသည်။ အသေးစိတ်များ ဖော်ပြချက်
name လိုအပ်ပါသည်။ စာ -
color အရမ်းကိုင်း စာ -
curl --request POST \
--url 'https://77qr.io/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
{ "data": { "id": 1 } }
POST https://77qr.io/api/projects/{project_id}
အဆိုပါမှာကိုယ်ပိုင်အလိုအလျောက်များဖြစ်ပါသည်။ အသေးစိတ်များ ဖော်ပြချက်
name အရမ်းကိုင်း စာ -
color အရမ်းကိုင်း စာ -
curl --request POST \
--url 'https://77qr.io/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://77qr.io/api/projects/{project_id}
curl --request DELETE \
--url 'https://77qr.io/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \