node
Get current Thread state.
Changed onState describing the current Thread role of this Thread node.
- disabled: The Thread stack is disabled.
- detached: Not currently participating in a Thread network/partition.
- child: The Thread Child role.
- router: The Thread Router role.
- leader: The Thread Leader role.
get/node/state
Request
- Base URLhttp://localhost:8081
- URLhttp://localhost:8081/node/state
- Authnone required
Response
Successful operation
string required
Current state
Example response
"leader"
Changes
- breaking
the response's body type changed from
numbertostringfor status
- breaking
- breaking
the response's body type changed from
stringtonumberfor status
- breaking