Line 453: |
Line 453: |
| <td>api <b>get</b> <method>.<config>.<section></td> | | <td>api <b>get</b> <method>.<config>.<section></td> |
| <td>Returns specified config options.</td> | | <td>Returns specified config options.</td> |
− | <td><ul><li><i>api get /auto_reboot/schedular/config</i></li></ul>Returns periodic reboot options.</td> | + | <td><ul><li><i>api get /auto_reboot/scheduler/config</i></li></ul>Returns periodic reboot options.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>api <b>post</b><method> <config>.<section>.<option_name>="value"</td> | | <td>api <b>post</b><method> <config>.<section>.<option_name>="value"</td> |
| <td>Sets the value of a specified configuration option.</td> | | <td>Sets the value of a specified configuration option.</td> |
− | <td><ul><li><i>api post /auto_reboot/schedular/config {"data": {"action": "1", "period": "week", "days": ["mon"], "time": ["12:00"]}}</i></li></ul>Creates a periodic reboot configuration with options to reboot device every monday on 12:00.</td> | + | <td><ul><li><i>api post /auto_reboot/scheduler/config {"data": {"action": "1", "period": "week", "days": ["mon"], "time": ["12:00"]}}</i></li></ul>Creates a periodic reboot configuration with options to reboot device every monday on 12:00.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>api <b>put</b> <method> <config>.<section>.<option_name>="value"</td> | | <td>api <b>put</b> <method> <config>.<section>.<option_name>="value"</td> |
| <td>Edits a specified config options.</td> | | <td>Edits a specified config options.</td> |
− | <td><ul><li><i>api put /auto_reboot/schedular/config/{id} {"data": { "enable": "1"}}</i></li></ul>Sets a specified periodic reboot config to enabled.</td> | + | <td><ul><li><i>api put /auto_reboot/scheduler/config/{id} {"data": { "enable": "1"}}</i></li></ul>Sets a specified periodic reboot config to enabled.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>api <b>delete</b> <method> <config>.<section>.<config_id></td> | | <td>api <b>delete</b> <method> <config>.<section>.<config_id></td> |
| <td>Deletes a specified configuration.</td> | | <td>Deletes a specified configuration.</td> |
− | <td><ul><li><i>api delete /auto_reboot/schedular/config/{id}</i></li></ul>Deletes a specified periodic reboot configuration.</td> | + | <td><ul><li><i>api delete /auto_reboot/scheduler/config/{id}</i></li></ul>Deletes a specified periodic reboot configuration.</td> |
| </tr> | | </tr> |
| </table> | | </table> |