I need update devices, can I REQUEST_SYNC to do it?
here say this api is not public yet. what can i do?
You can get an API Key for the HomeGraph APIs. You make a call to their API endpoint with your API key:
https://homegraph.googleapis.com/v1/devices:requestSync?key=API_KEY
In the body, make sure you provide the agentUserId that you originally returned in your SYNC response. This will cause your endpoint to receive another SYNC call.
agentUserId
Here's a cURL command:
curl -i -s -k -X POST -H "Content-Type: application/json" -d "{agent_user_id: \"agentUserId\"}" "https://homegraph.googleapis.com/v1/devices:requestSync?key=API_KEY"
Check the new docs to learn a bit more about how it is used.
You can get an API Key for the HomeGraph APIs. You make a call to their API endpoint with your API key:
https://homegraph.googleapis.com/v1/devices:requestSync?key=API_KEY
In the body, make sure you provide the
agentUserId
that you originally returned in your SYNC response. This will cause your endpoint to receive another SYNC call.Here's a cURL command:
Check the new docs to learn a bit more about how it is used.