ຊື່ຂອງເດີ້ອື່ນ
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:23:17"
},
],
"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:23:17"
}
}
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}' \