CLI REST-API
commit
commit [option]
The "commit" command applies all configuration changes (see "changes" command). In order to
persistently store the changed configuration, please see the "write" and "diff" commands.
RESTAPI: The data can be passed in the body like this:
{
"parameters": {
"seconds": -0.000002500
}
}
Name | Value | Description | Example |
---|
pending | | only apply the pending configuration changes | |
See also:
changes: lists changed configuration parameters in different formats.
commit-to: pushes configuration changes to a remote system or a group of remote systems.
rollback: discards all parameter changes made in this CLI session.
REST-API Support:
This command is supported by the REST API:
Method: PUT
URL: /api/commit
Body:
{
"parameters": {
"seconds": [seconds].[fractions]
}
}
Example using curl:
curl -X PUT /api/commit -d
"{
\"parameters\": {
\"seconds\": -0.000002500
}
}"