Last Updated on : 2023-06-01 06:20:11download
Query the list of households where the user is located.
GET: /v1.0/users/{uid}/homes
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
uid | String | uri | true | User ID |
Parameter name | Type | Description |
---|---|---|
result | List |
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/users/ay152896hugoxxxx0qLVPu/homes
{}
{
"result": [
{
"lon": 120.1,
"name": "Nest",
"home_id": 2421212,
"lat": 30.27,
"geo_name": "Gudang Street in Lake District"
}
],
"t": 1541508940996,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback