Last Updated on : 2023-05-22 06:38:12download
Based on users’ creation time, get the app user data under the developer’s account. The data of up to 30 days can be obtained. We recommend that start_time and end_time be filled with a specified time range. Do not enter Null.
GET: /v2.0/apps/{schema}/users
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| schema | String | uri | true | The channel identifier of a specified app. |
| page_no | Integer | query | true | The current page number. |
| page_size | Integer | query | true | The number of rows per page. Valid values range from 0 to 100. |
| username | String | query | false | The username. |
| start_time | Long | query | false | The 10-digit timestamp of the start time.
|
| end_time | Long | query | false | The 10-digit timestamp of the end time. If end_time is Null, use start_time as the reference value. |
| Parameter name | Type | Description |
|---|---|---|
| result | PagedTotalVO | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| list | List | A list of the returned value objects. |
| has_more | Boolean | Indicates whether additional data is available. Valid values:
|
| total | Long | The total number of users. |
Description of list
| Parameter name | Type | Description |
|---|---|---|
| uid | String | The user ID (UID). |
| username | String | The username. |
| mobile | String | The phone number (only available to users who have registered with a phone number). |
| String | The email address (only available to users who have registered with an email address). | |
| create_time | Long | The creation time. |
| update_time | Long | The update time. |
| country_code | String | The code of a specified country or region. |
GET: /v2.0/apps/testApp/users?page_no=1&page_size=10&start_time=1602848780&end_time=1603809946
{
"list": [
{
"create_time": 1602848780,
"mobile": "****",
"uid": "ay15264******aK4Jo",
"country_code": "86",
"update_time": 1602848780,
"username": "****"
},
{
"create_time": 1602848780,
"uid": "ay1526******09hBOKe",
"country_code": "86",
"update_time": 1602848780,
"email": "****",
"username": "****"
}
],
"total": 2,
"has_more": false
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback