API端点:
https://jvdan.com/api/v1/websites
请求示例:
curl --location --request GET 'https://jvdan.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
domain
for 域名. 默认值 to: domain
.sort_by
id
for 创建日期, domain
for 域名. 默认值 to: id
.sort
desc
for 降序, asc
for 上升. 默认值 to: desc
.per_page
10
, 25
, 50
, 100
. 默认值 to: 10
.API端点:
https://jvdan.com/api/v1/websites/{id}
请求示例:
curl --location --request GET 'https://jvdan.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API端点:
https://jvdan.com/api/v1/websites
请求示例:
curl --location --request POST 'https://jvdan.com/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 密码. 默认值 to: 0
.password
privacy
set to 2
.email
0
for 关闭的, 1
for 启用. 默认值 to: 0
.exclude_bots
0
for 关闭的, 1
for 启用. 默认值 to: 1
.exclude_params
exclude_ips
API端点:
https://jvdan.com/api/v1/websites/{id}
请求示例:
curl --location --request PUT 'https://jvdan.com/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
privacy
set to 2
.email
0
for 关闭的, 1
for 启用.exclude_bots
0
for 关闭的, 1
for 启用.exclude_params
exclude_ips
API端点:
https://jvdan.com/api/v1/websites/{id}
请求示例:
curl --location --request DELETE 'https://jvdan.com/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'