ปลายทาง API:
https://chimera.market.pna.co.th/api/v1/domains
ตัวอย่างคำขอ:
curl --location --request GET 'https://chimera.market.pna.co.th/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byname for ชื่อ. Defaults to: name.sort_byid for วันที่สร้าง, name for ชื่อ. Defaults to: id.sortdesc for จากมากไปน้อย, asc for จากน้อยไปมาก. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.ปลายทาง API:
https://chimera.market.pna.co.th/api/v1/domains/{id}
ตัวอย่างคำขอ:
curl --location --request GET 'https://chimera.market.pna.co.th/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
ปลายทาง API:
https://chimera.market.pna.co.th/api/v1/domains
ตัวอย่างคำขอ:
curl --location --request POST 'https://chimera.market.pna.co.th/api/v1/domains' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
nameindex_pagenot_found_pageปลายทาง API:
https://chimera.market.pna.co.th/api/v1/domains/{id}
ตัวอย่างคำขอ:
curl --location --request PUT 'https://chimera.market.pna.co.th/api/v1/domains/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
index_pagenot_found_pageปลายทาง API:
https://chimera.market.pna.co.th/api/v1/domains/{id}
ตัวอย่างคำขอ:
curl --location --request DELETE 'https://chimera.market.pna.co.th/api/v1/domains/{id}' \ --header 'Authorization: Bearer {api_key}'