/
/Swagger OpenThread REST API
ChangesDocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2h ago · Updated 6d ago
diagnostics1
node22
  • getGet current active node parameters
  • deleteErase all persistent information, essentially factory reset the Border Router.
  • getGet the border agent ID
  • getRouting Locator IPv6 address of this Thread node.
  • getRouting Locator Router and Child ID (RLOC16).
  • getIEEE 802.15.4 Extended Address (EUI-64).
  • getGet current Thread state.
  • putSet current Thread state.
  • getThread network name this node is part of.
  • getGets the network's leader data.
  • getExtended PAN ID.
  • getGet number of router devices
  • getGet current active operational dataset
  • putCreates or updates the active operational dataset
  • getGet current pending operational dataset
  • putCreates or updates the pending operational dataset
  • getGet current Commissioner state.
  • putSet current Commissioner state.
  • getGet current joiner data
  • postAdds a new joiner
  • deleteRemoves a joiner from the node
  • getGet the coprocessor firmware version
    node

    Gets the network's leader data.

    get/node/leader-data

    Response

    Successful operation

    PartitionIdnumber

    Partition ID

    Weightingnumber

    Leader Weight

    DataVersionnumber

    Full network data version

    StableDataVersionnumber

    Stable Network Data Version

    LeaderRouterIdnumber

    Leader Router ID

    Example response

    {
      "PartitionId": 1230046604,
      "Weighting": 64,
      "DataVersion": 244,
      "StableDataVersion": 186,
      "LeaderRouterId": 4
    }

    Changes