စိတ်ကြိုက်ဒိုမိန်းများ
GET https://9qrcode.com/api/domains/
curl --request GET \
--url 'https://9qrcode.com/api/domains/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/domains/' \
--header 'Authorization: Bearer {api_key}' \
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
page | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | သင်လိုချင်သော စာမျက်နှာနံပါတ် ရလဒ်များ။ 1 အတွက် မူရင်းများ။ |
results_per_page | ရွေးချယ်နိုင်သည် ကိန်းပြည့် | တစ်မျက်နှာလျှင် သင်လိုချင်သော ရလဒ်မည်မျှ။ ခွင့်ပြုထားသောတန်ဖိုးများမှာ- 10 , 25 , 50 , 100 , 250 , 500 , 1000 ။ 25 သို့ ပုံသေများ။ |
{
"data": [
{
"id": 1,
"scheme": "https://",
"host": "example.com",
"custom_index_url": "",
"is_enabled": true,
"last_datetime": null,
"datetime": "2025-07-02 10:59:32"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://9qrcode.com/api/domains?&page=1",
"last": "https://9qrcode.com/api/domains?&page=1",
"next": null,
"prev": null,
"self": "https://9qrcode.com/api/domains?&page=1"
}
}
GET https://9qrcode.com/api/domains/{domain_id}
curl --request GET \
--url 'https://9qrcode.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"scheme": "https://",
"host": "example.com",
"custom_index_url": "",
"is_enabled": true,
"last_datetime": null,
"datetime": "2025-07-02 10:59:32"
}
}
POST https://9qrcode.com/api/domains
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
host | လိုအပ်သည် စာကြောင်း | - |
custom_index_url | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
custom_not_found_url | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
curl --request POST \
--url 'https://9qrcode.com/api/domains' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
--form 'custom_index_url=https://example.com/' \
--form 'custom_not_found_url=https://example.com/404-page'
--url 'https://9qrcode.com/api/domains' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
--form 'custom_index_url=https://example.com/' \
--form 'custom_not_found_url=https://example.com/404-page'
{
"data": {
"id": 1
}
}
POST https://9qrcode.com/api/domains/{domain_id}
ဘောင်များ | အသေးစိတ်များ | ဖော်ပြချက် |
---|---|---|
host | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
custom_index_url | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
custom_not_found_url | ရွေးချယ်နိုင်သည် စာကြောင်း | - |
curl --request POST \
--url 'https://9qrcode.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
--url 'https://9qrcode.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
{
"data": {
"id": 1
}
}
DELETE https://9qrcode.com/api/domains/{domain_id}
curl --request DELETE \
--url 'https://9qrcode.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://9qrcode.com/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \