node

Get current Thread state.

Changed on

State 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 URL
    http://localhost:8081
  • URL
    http://localhost:8081/node/state
  • Auth
    none required

Response

Successful operation

string required

Current state

Example response

"leader"

Changes