Last Updated on : 2023-06-21 07:13:10download
Query the reviews about the specified community steward, including the community ID, steward ID, page number, page size, and other information.
GET: /v1.0/iot-02/community/house-keeper-evaluate
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| block_id | String | query | true | The community ID. |
| hk_id | String | query | true | The ID of the specified steward. |
| start_time | Long | query | false | The start time. |
| end_time | Long | query | false | The end time. |
| page_no | Integer | query | true | The page number. |
| page_size | Integer | query | true | The number of items to be returned on each page. |
| Parameter name | Type | Description |
|---|---|---|
| result | PageResult | The returned result. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| data | List | The number of records returned on each page. |
| total_record | Long | The total number of records. |
Description of data
| Parameter name | Type | Description |
|---|---|---|
| comment_id | String | The ID of the specified review. |
| real_name | String | The name of a resident. |
| room_address | String | The address of a house. |
| type | Integer | The type of a review. Valid values:
|
| content | String | The content of a review. |
| evaluate_time | Long | The time when a review is made. |
GET: /v1.0/iot-02/community/house-keeper-evaluate?blockId=1399960265050574848&hkId=1436249349305667679&pageNo=2&pageSize=10
{
"result": {
"data": [
{
"evaluateTime": 1630134684818,
"type": 2,
"content": "",
"realName": "Peter",
"roomAddress": "Tuya Smart (for R&D self-test) Test 101",
"commentId": "1431514739522932783"
}
],
"totalRecord": 1
},
"t": 1632284525132,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback