POST /maintenance_windows

Changed on

Returns the future windows for maintenance in current epoch for the specified account. In the maintenance windows, the node will not be block producer or chunk producer.

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

JsonRpcRequestForMaintenanceWindows required
id, string required
jsonrpc, string required
method, 'maintenance_windows' required
params, RpcMaintenanceWindowsRequest required

Response

union required
object required
OR
object required

Changes

    • breaking

      added subschema #2 subschema #3 to the oneOf[subschema #2]/error response property oneOf list for the response status

    • breaking

      the oneOf[subschema #2]/error response's property type changed from object to no type for status

    • breaking

      removed the required property oneOf[subschema #2]/error/code from the response with the status

    5 more changes in this revision