Set /node/dataset/pending

Changed on

Register with the Thread leader. JSON requires activeDataset and delay. The HTTP request waits up to 30 seconds for the leader response.

put/node/dataset/pending

Request

  • Base URL
    http://esp-ot-br.local:80
  • URL
    http://esp-ot-br.local:80/node/dataset/pending
  • Auth
    none declared

Headers

If-None-Match'*'

Write only when no dataset exists.

Request body

delayinteger required

Example request

{
  "activeDataset": {
    "meshLocalPrefix": "fd00::/64"
  }
}

Response

Success

Changes

    • breaking

      added the new required request property (media type: application/json)

    • breaking

      added the new required request property (media type: application/json)

    • breaking

      request body became required

    • warning

      removed the request property (media type: application/json)

    • warning

      removed the request property (media type: application/json)

    • warning

      removed the request property (media type: application/json)

    • info

      api tag node removed

    • info

      added the new optional header request parameter If-None-Match

    • info

      added the new optional request property (media type: application/json)

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status