API端点:
https://riiffy.com/api/v1/websites
请求示例:
curl --location --request GET 'https://riiffy.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
domain
。 默认值:domain
。sort_by
id
, 域名的domain
。 默认值:id
。sort
desc
, 升序的asc
。 默认值:desc
。per_page
10
, 25
, 50
, 100
。 默认值:10
。API端点:
https://riiffy.com/api/v1/websites/{id}
请求示例:
curl --location --request GET 'https://riiffy.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API端点:
https://riiffy.com/api/v1/websites
请求示例:
curl --location --request POST 'https://riiffy.com/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domain
privacy
0
, 私有的1
, 密码的2
。 默认值:1
。password
privacy
设为2
时生效。email
0
, 启用的1
。 默认值:0
。exclude_bots
0
, 启用的1
。 默认值:1
。exclude_params
exclude_ips
API端点:
https://riiffy.com/api/v1/websites/{id}
请求示例:
curl --location --request PUT 'https://riiffy.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
, 私有的1
, 密码的2
。password
privacy
设为2
时生效。email
0
, 启用的1
。exclude_bots
0
, 启用的1
。exclude_params
exclude_ips
API端点:
https://riiffy.com/api/v1/websites/{id}
请求示例:
curl --location --request DELETE 'https://riiffy.com/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'