接口端点:
https://tz8.in/api/v1/domains
请求示例:
curl --location --request GET 'https://tz8.in/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
.sort_by
id
.sort
desc
.per_page
10
.接口端点:
https://tz8.in/api/v1/domains/{id}
请求示例:
curl --location --request GET 'https://tz8.in/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
接口端点:
https://tz8.in/api/v1/domains
请求示例:
curl --location --request POST 'https://tz8.in/api/v1/domains' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
name
index_page
not_found_page
接口端点:
https://tz8.in/api/v1/domains/{id}
请求示例:
curl --location --request PUT 'https://tz8.in/api/v1/domains/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
index_page
not_found_page
接口端点:
https://tz8.in/api/v1/domains/{id}
请求示例:
curl --location --request DELETE 'https://tz8.in/api/v1/domains/{id}' \ --header 'Authorization: Bearer {api_key}'