API端点:
https://yzl.cc/api/v1/websites
请求示例:
curl --location --request GET 'https://yzl.cc/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bydomain for 域名 默认为domainsfavoritesort_byid for 创建日期, domain for 域名 默认为idssortdesc for 下降, asc for 上升 默认为descsper_page10, 25, 50, 100 默认为25sAPI端点:
https://yzl.cc/api/v1/websites/{id}
请求示例:
curl --location --request GET 'https://yzl.cc/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API端点:
https://yzl.cc/api/v1/websites
请求示例:
curl --location --request POST 'https://yzl.cc/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domainprivacy0 for 公开, 1 for 私有, 2 for 密码 默认为0spasswordprivacy field set to 2.email0 for 禁用, 1 for 已启用 默认为0sexclude_bots0 for 禁用, 1 for 已启用 默认为1sexclude_paramsexclude_ipsAPI端点:
https://yzl.cc/api/v1/websites/{id}
请求示例:
curl --location --request PUT 'https://yzl.cc/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy0 for 公开, 1 for 私有, 2 for 密码passwordprivacy field set to 2.email0 for 禁用, 1 for 已启用exclude_bots0 for 禁用, 1 for 已启用exclude_paramsexclude_ipsfavoriteAPI端点:
https://yzl.cc/api/v1/websites/{id}
请求示例:
curl --location --request DELETE 'https://yzl.cc/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'