更新时间:2023-07-28 06:26:01下载pdf
本文介绍获取 App 注册用户数据的 API。
获取 App 下指定时间范围内注册用户数据,返回当日注册用户数、累计注册用户数、注册日期、注册地区或国家等信息。
GET: /v1.0/iot-datacenter/app/user/register/stat
参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
---|---|---|---|---|
params | String | query | true | JSON |
params
说明
参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
---|---|---|---|---|
bizType | String | false | 用户域 | |
startDay | String | true | 开始时间 | |
endDay | String | true | 结束时间 | |
country | String | false | 国家 | |
dimension | String | false | 维度 |
dimension
说明
参数名 | 类型 | 参数位置 | 是否必填 | 说明 |
---|---|---|---|---|
country_name | String | false | 国家 |
参数名 | 类型 | 说明 |
---|---|---|
result | JSONArray | 返回数据 |
result
说明
参数名 | 类型 | 说明 |
---|---|---|
todayRegisterNum | Integer | 当日注册用户数 |
totalRegisterNum | Integer | 累计注册用户数 |
dt | Integer | 日期 |
countryName | String | 国家 |
GET: /v1.0/iot-datacenter/app/user/register/stat?params={"startDay":"20210810" ,"endDay":"20210820","dimension":"country_name","country": "中国"}
{
"result": [
{
"totalRegisterNum": 601,
"dt": 20210813,
"countryName": "中国",
"todayRegisterNum": 0
},
{
"totalRegisterNum": 601,
"dt": 20210814,
"countryName": "中国",
"todayRegisterNum": 0
},
{
"totalRegisterNum": 601,
"dt": 20210815,
"countryName": "中国",
"todayRegisterNum": 0
},
{
"totalRegisterNum": 611,
"dt": 20210816,
"countryName": "中国",
"todayRegisterNum": 10
},
{
"totalRegisterNum": 616,
"dt": 20210817,
"countryName": "中国",
"todayRegisterNum": 5
},
{
"totalRegisterNum": 616,
"dt": 20210818,
"countryName": "中国",
"todayRegisterNum": 0
},
{
"totalRegisterNum": 621,
"dt": 20210819,
"countryName": "中国",
"todayRegisterNum": 5
},
{
"totalRegisterNum": 621,
"dt": 20210820,
"countryName": "中国",
"todayRegisterNum": 0
}
],
"t": 1630117333494,
"success": true
}
参考 错误码。
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈