API端点:
https://tj1.trafficmanager.net/api/v1/websites
请求示例:
curl --location --request GET 'https://tj1.trafficmanager.net/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bydomain 用于 域名。 默认为:domain。favoritesort_byid 用于 创建日期, domain 用于 域名。 默认为:id。sortdesc 用于 降序, asc 用于 升序。 默认为:desc。per_page10, 25, 50, 100。 默认为:10。API端点:
https://tj1.trafficmanager.net/api/v1/websites/{id}
请求示例:
curl --location --request GET 'https://tj1.trafficmanager.net/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API端点:
https://tj1.trafficmanager.net/api/v1/websites
请求示例:
curl --location --request POST 'https://tj1.trafficmanager.net/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domainprivacy0 用于 公开, 1 用于 私有, 2 用于 密码。 默认为:0。passwordprivacy 设置为 2 时有效。email0 用于 禁用, 1 用于 启用。 默认为:0。exclude_bots0 用于 禁用, 1 用于 启用。 默认为:1。exclude_paramsexclude_ipsAPI端点:
https://tj1.trafficmanager.net/api/v1/websites/{id}
请求示例:
curl --location --request PUT 'https://tj1.trafficmanager.net/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy0 用于 公开, 1 用于 私有, 2 用于 密码。passwordprivacy 设置为 2 时有效。email0 用于 禁用, 1 用于 启用。exclude_bots0 用于 禁用, 1 用于 启用。exclude_paramsexclude_ipsfavoriteAPI端点:
https://tj1.trafficmanager.net/api/v1/websites/{id}
请求示例:
curl --location --request DELETE 'https://tj1.trafficmanager.net/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'