API终结点:
https://link.xxbtop.com/api/v1/domains
请求示例:
curl --location --request GET 'https://link.xxbtop.com/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
sort
desc
。per_page
10
到100
。 默认为:
。API终结点:
https://link.xxbtop.com/api/v1/domains/{id}
请求示例:
curl --location --request GET 'https://link.xxbtop.com/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API终结点:
https://link.xxbtop.com/api/v1/domains
请求示例:
curl --location --request POST 'https://link.xxbtop.com/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终结点:
https://link.xxbtop.com/api/v1/domains/{id}
请求示例:
curl --location --request PUT 'https://link.xxbtop.com/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终结点:
https://link.xxbtop.com/api/v1/domains/{id}
请求示例:
curl --location --request DELETE 'https://link.xxbtop.com/api/v1/domains/{id}' \ --header 'Authorization: Bearer {api_key}'