English
English
简体中文
Contact Us
Register
Log In

Query Community Steward Reviews

Last Updated on : 2023-01-29 07:00:08

Query the total number of stewards, the number of reviews, positive reviews, and negative reviews, and the positive rate (the number before the percent sign) using the community steward as the dimension.

API address

GET: /v1.0/iot-02/community/housekeeper-evaluate-statistics

Request parameter

Parameter nameTypeINRequiredDescription
block_idStringquerytrueThe community ID.
hk_idStringquerytrueThe ID of the specified steward.

Return parameter

Parameter nameTypeDescription
resultHighwayHouseKeeperEvaluateStatisticsResponseThe returned result.

Description of result

Parameter nameTypeDescription
evaluate_numberLongThe number of reviews.
praise_numberLongThe number of positive reviews.
criticism_numberLongThe number of negative reviews.
favorable_ratingIntegerThe positive rate (the number before the percent sign).

Request example

GET: /v1.0/iot-02/community/housekeeper-evaluate-statistics?block_id=1399960265050574848&hkId=1431514572447027208

Return example

{
    "result": {
        "evaluateNumber": 3,
        "praiseNumber": 2,
        "criticismNumber": 1,
        "favorableRating": 67
    },
    "t": 1632285223956,
    "success": true
}

Error code

For more information, see error code.