Last Updated on : 2023-07-06 09:10:56download
Query user information on pages.
POST: /v1.0/iot-03/idaas/spaces/{space_id}/page-user
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
space_id | String | uri | true | The ID of a specified space. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
username | String | false | The username. | |
role_name | String | false | The name of a specified role. | |
role_code | String | false | The code of a specified role. | |
page_number | Integer | true | The current page number. | |
page_size | Integer | true | The number of items per page. | |
gmt_modified_asc | Boolean | false | Indicates whether to display the items in descending order of the modification time. |
Parameter name | Type | Description |
---|---|---|
result | Page |
Description of result
Parameter name | Type | Description |
---|---|---|
total_count | Integer | The total number of items that are found. |
total_pages | Integer | The total number of pages. |
page_number | Integer | The current page number. |
page_size | Integer | The number of items per page. |
results | IdaasUserPageResultDTO | The list of results. |
Description of results
Parameter name | Type | Description |
---|---|---|
space_id | String | The ID of a specified space. |
uid | String | The user's identifier. |
username | String | The username. |
remark | String | The remarks. |
gmt_modified | Long | The time when it is modified. |
gmt_create | Long | Creation Time |
POST: /v1.0/iot-03/idaas/spaces/12345/page-user
{ "username": "Username 1" "roleCode": "Role code 1", "role_name": "Role name 1", "page_number": 1, "page_size": 100, }
{
"result": {
"total_count": 1,
"total_pages": 1,
"page_number": 1,
"results": [
{
"gmt_create": "1622775600000",
"remark": "testRemark",
"gmt_modified": "1622775600000",
"uid": "8",
"space_id": "1400727198159081506",
"username": "testUserName"
}
],
"page_size": 20
},
"t": 1623004816888,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback