API endpoint:
https://tj.6-7.cc/api/v1/websites
Request example:
curl --location --request GET 'https://tj.6-7.cc/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bydomain for 域名. Defaults to: domain.sort_byid for Date created, domain for 域名. Defaults to: id.sortdesc for Descending, asc for Ascending. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.API endpoint:
https://tj.6-7.cc/api/v1/websites/{id}
Request example:
curl --location --request GET 'https://tj.6-7.cc/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://tj.6-7.cc/api/v1/websites
Request example:
curl --location --request POST 'https://tj.6-7.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 登录密码. Defaults to: 1.passwordprivacy set to 2.email0 for 禁用, 1 for 启用. Defaults to: 0.exclude_bots0 for 禁用, 1 for 启用. Defaults to: 1.exclude_paramsexclude_ipsAPI endpoint:
https://tj.6-7.cc/api/v1/websites/{id}
Request example:
curl --location --request PUT 'https://tj.6-7.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 set to 2.email0 for 禁用, 1 for 启用.exclude_bots0 for 禁用, 1 for 启用.exclude_paramsexclude_ipsAPI endpoint:
https://tj.6-7.cc/api/v1/websites/{id}
Request example:
curl --location --request DELETE 'https://tj.6-7.cc/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'