Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuration API

Update configuration items using the API.

Note: User should be authenticated. 

Update configuration item for the local server: 

POST http://volla.opmantek.net:6042/en/omk/admin/api/v2/config/Config

{"system" : {"nettype_list":"wan,lan,vpn,man,san,voice,default,cpe,mnd"}}

Update a configuration item for all the peers in the cluster:

POST http://volla.opmantek.net:6042/en/omk/admin/api/v2/config/remote/Config

{"system" : {"nettype_list":"wan,lan,vpn,man,san,voice,default,cpe,mnd"}}