Sync with server's Port States

Definition

https://api.yodiwo.com/api/1.0/NODEKEY/SECRETKEY/portstatereq


Parameters

Name Type
nodekey
required
string n/a
NodeKey (received during Node pairing)
secretkey
required
string n/a
SecretKey (received during Node pairing)

Documentation

Sends a Port States request to the cloud server. Route parameters include the Node and Secret keys received during the Node’s pairing. The body of the message is expected to be a JSON-serialized message of the PortStateReq class.

The server will reply with a Port States Response.

For more information check out State synchronization