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}'
search
search_by
domain
for 域名 默认为domain
sfavorite
sort_by
id
for 创建日期, domain
for 域名 默认为id
ssort
desc
for 下降, asc
for 上升 默认为desc
sper_page
10
, 25
, 50
, 100
默认为25
sAPI端点:
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}'
domain
privacy
0
for 公开, 1
for 私有, 2
for 密码 默认为0
spassword
2
s字段进行工作privacy
email
0
for 禁用, 1
for 已启用 默认为0
sexclude_bots
0
for 禁用, 1
for 已启用 默认为1
sexclude_params
exclude_ips
API端点:
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}'
privacy
0
for 公开, 1
for 私有, 2
for 密码password
2
s字段进行工作privacy
email
0
for 禁用, 1
for 已启用exclude_bots
0
for 禁用, 1
for 已启用exclude_params
exclude_ips
favorite
API端点:
https://yzl.cc/api/v1/websites/{id}
请求示例:
curl --location --request DELETE 'https://yzl.cc/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'