API endpoint:
https://go2.vn/api/v1/domains
Request example:
curl --location --request GET 'https://go2.vn/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
for Giảm dần, asc
for Tăng dần.API endpoint:
https://go2.vn/api/v1/domains/{id}
Request example:
curl --location --request GET 'https://go2.vn/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://go2.vn/api/v1/domains
Request example:
curl --location --request POST 'https://go2.vn/api/v1/domains' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
index_page
not_found_page
API endpoint:
https://go2.vn/api/v1/domains/{id}
Request example:
curl --location --request PUT 'https://go2.vn/api/v1/domains/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
index_page
not_found_page
API endpoint:
https://go2.vn/api/v1/domains/{id}
Request example:
curl --location --request DELETE 'https://go2.vn/api/v1/domains/{id}' \ --header 'Authorization: Bearer {api_key}'