Last Updated on : 2023-06-01 06:20:19download
Query basic family information based on family ID.
GET: /v1.0/homes/{home_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
home_id | Long | uri | true | Family ID |
Parameter name | Type | Description |
---|---|---|
result | HomeRes |
Description of result
Parameter name | Type | Description |
---|---|---|
home_id | Long | Family ID |
name | String | Family Name |
lon | Double | Longitude |
lat | Double | Latitude |
geo_name | String | Family detailed address |
role | String | Roles |
GET: /v1.0/homes/3182004
{}
{
"result": {
"lon": 120.5,
"name": "Ming Ming’s Family",
"home_id": 318312,
"lat": 30.16,
"geo_name": "Hangzhou City, Tuya Smart"
},
"t": 1540955256215,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback