API端点:
https://go.f27.net/api/v1/domains
请求示例:
curl --location --request GET 'https://go.f27.net/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
默认值为:name
sort_by
id
, 姓名 的 name
默认值为:id
sort
desc
, 升序 的 asc
默认值为:desc
per_page
10
, 25
, 50
, 100
默认值为:10
API端点:
https://go.f27.net/api/v1/domains/{id}
请求示例:
curl --location --request GET 'https://go.f27.net/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API端点:
https://go.f27.net/api/v1/domains
请求示例:
curl --location --request POST 'https://go.f27.net/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
API端点:
https://go.f27.net/api/v1/domains/{id}
请求示例:
curl --location --request PUT 'https://go.f27.net/api/v1/domains/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
index_page
not_found_page
API端点:
https://go.f27.net/api/v1/domains/{id}
请求示例:
curl --location --request DELETE 'https://go.f27.net/api/v1/domains/{id}' \ --header 'Authorization: Bearer {api_key}'