查询每天用户时长使用量
开发中
POST
https://saas-open.vhall.com/v3/data-center/user/user-duration
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/data-center/user/user-duration?time_span=' \
--header 'platform: 15' \
--form 'time_span=""' \
--form 'app_key=""' \
--form 'sign_type=""' \
--form 'signed_at=""' \
--form 'sign=""'
响应示例响应示例
{
"msg": "string",
"code": 0,
"data": {
"remain_duration": 0,
"select_total_live_duration": 0,
"select_total_record_duration": 0,
"list": [
{
"date": "string",
"live_duration": 0,
"record_duration": 0
}
],
"total_record_duration": 0,
"total_live_duration": 0
},
"request_id": "string"
}
请求参数
Query 参数
user_id
string
可选
time_span
string
必需
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
platform
integer
可选
默认值:
15
Body 参数multipart/form-data
time_span
string
必需
user_id
string
可选
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-06-12 05:59:08