The following changes were made:
openmediavault 3.0.88
- Various improvements.
- Fix bug in ‘omv-mkconf issue’ command. Don’t run any hook scripts when executing ifquery.
The following changes were made:
openmediavault 3.0.88
OMV3 will go into maintenance mode now, this means there will be no new features but security and bugfixes. New features will be implemented in OMV4 instead.
The following changes were made:
openmediavault 3.0.87
The following changes were made:
openmediavault 3.0.86
If you want to execute a RPC from an external host using Python, then you should use the following code.
import requests import json url='http://localhost/rpc.php' session = requests.Session() # Login and get the session cookie. session.post(url, data=json.dumps({ 'service': 'session', 'method': 'login', 'params': { 'username': 'admin', 'password': 'xyz' } })) # Execute a RPC. response = session.post(url, data=json.dumps({ 'service': 'system', 'method': 'noop', 'params': None })) print(response.json()) # Logout. session.post(url, data=json.dumps({ 'service': 'session', 'method': 'logout', 'params': None })) # This RPC should fail because of an invalid session authentication. response = session.post(url, data=json.dumps({ 'service': 'system', 'method': 'noop', 'params': None })) print(response.json()) session.close()