统计

备注
专家级
API 密钥应作为持有者令牌在请求的授权标头中发送。 输入您的API Key.
显示

接口端点:

GET
https://tz8.in/index.php/api/v1/stats/{id}

请求示例:

curl --location --request GET 'https://tz8.in/index.php/api/v1/stats/{id}?name={name}&from={from}&to={to}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
参数
类型
描述
name
必需 string
统计信息的名称。 可能的值为::值。
from
必需 string
开始日期采用 :format 格式。
to
必需 string
结束日期采用 :format 格式。
search
可选的 string
搜索查询。
search_by
可选的 string
搜索. 可能的值为::值。 默认主题: url.
sort_by
可选的 string
排序方式. 可能的值为::值。 默认主题: count.
sort
可选的 string
排序. 可能的值为::值。 默认主题: desc.
per_page
可选的 int
每页结果. 可能的值为::值。 默认主题: 10.