devices

POST /v1/devices:sync

Changed on

Gets all the devices associated with the given third-party user. The third-party user's identity is passed in via the agent_user_id (see SyncRequest). This request must be authorized using service account credentials from your Actions console project.

Request

  • Base URL
    https://homegraph.googleapis.com
  • URL
    https://homegraph.googleapis.com/v1/devices:sync
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/homegraph
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/homegraph

Request body

agentUserIdstring

Required. Third-party user ID.

requestIdstring

Request ID used for debugging.

Response

Successful response

requestIdstring

Request ID used for debugging. Copied from the request.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status