API 端点:
https://service.smartontoline.com/api/v1/websites
请求示例:
curl --location --request GET 'https://service.smartontoline.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
domain
favorite
sort_by
id
sort
desc
per_page
10
, 25
, 50
, 100
默认为:10
API 端点:
https://service.smartontoline.com/api/v1/websites/{id}
请求示例:
curl --location --request GET 'https://service.smartontoline.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API 端点:
https://service.smartontoline.com/api/v1/websites
请求示例:
curl --location --request POST 'https://service.smartontoline.com/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domain
privacy
0
password
privacy
设置为 2
email
0
exclude_bots
1
exclude_params
exclude_ips
API 端点:
https://service.smartontoline.com/api/v1/websites/{id}
请求示例:
curl --location --request PUT 'https://service.smartontoline.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
password
privacy
设置为 2
email
exclude_bots
exclude_params
exclude_ips
favorite
API 端点:
https://service.smartontoline.com/api/v1/websites/{id}
请求示例:
curl --location --request DELETE 'https://service.smartontoline.com/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'