API端点:
https://six.demokk.com/api/v1/websites
请求示例:
curl --location --request GET 'https://six.demokk.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_bydomain。 默认:domain。favoritesort_byid, 域名 为 domain。 默认:id。sortdesc, 升序 为 asc。 默认:desc。per_page10, 25, 50, 100。 默认:10。API端点:
https://six.demokk.com/api/v1/websites/{id}
请求示例:
curl --location --request GET 'https://six.demokk.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API端点:
https://six.demokk.com/api/v1/websites
请求示例:
curl --location --request POST 'https://six.demokk.com/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domainprivacy0, 私有 为 1, 密码 为 2。 默认:0。passwordprivacy 字段设置为 2。email0, 启用 为 1。 默认:0。exclude_bots0, 启用 为 1。 默认:1。exclude_paramsexclude_ipsAPI端点:
https://six.demokk.com/api/v1/websites/{id}
请求示例:
curl --location --request PUT 'https://six.demokk.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy0, 私有 为 1, 密码 为 2。passwordprivacy 字段设置为 2。email0, 启用 为 1。exclude_bots0, 启用 为 1。exclude_paramsexclude_ipsfavoriteAPI端点:
https://six.demokk.com/api/v1/websites/{id}
请求示例:
curl --location --request DELETE 'https://six.demokk.com/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'