Get pending changes
omv_get_pending_changesShow staged OpenMediaVault configuration changes waiting to be applied, including affected modules and changes made by this server, so you can review them before applying without modifying the NAS.
Instructions
What is staged on the NAS and not applied yet: call this, and show it to the person, before omv_apply_changes. Use it when asked "what is waiting to be applied?" or "what did you change?", and before omv_apply_changes. dirty says OMV has configuration changes waiting; modules names the parts of the configuration they touch (as OMV names them, such as samba or nfs). staged_by_this_server lists, one line each, the changes this server made since the last apply or revert (the tool and the arguments it was called with); changes made in the web interface, or before this server restarted, are pending too but are not in that list. Nothing here changes the NAS.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omv_get_pending_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirty | Yes | ||
| detail | Yes | ||
| modules | Yes | ||
| staged_by_this_server | Yes |