Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
NeTunnel
New Contributor

Fortigate Rest API cmdb vs monitor

Hello, someone please can explain what is the diffrenet between  cmdb and monitor in API call 

 

1.request = session.get("https://x.x.x.x:443/api/v2/cmdb/system/interface"

 

 2.request = session.get("https://x.x.x.x:443/api/v2/monitor/system/config/backup?scope=global"

 

when i need use monitor on the API request and when i need to use cmdb

 

Please someone share with me the Fortigate Rest API Documented guide

 

1 REPLY 1
Debbie_FTNT
Staff
Staff

Hey @NeTunnel 

 

- the /cmdb section of API is for configuration (such as interfaces, users, policies etc)

- the /monitor section of API is primarily to get information from the FortiGate (detected devices, session list, authenticated users, etc), but does also include some  operations (such as taking a backup as you have outlined above).

 

FortiOS REST API documentation is available via the Fortinet Developer Network (fndn.fortinet.net). If you do not have access to the Developer Network, you can get it by requesting access and having sponsors. You can reach out to your local Fortinet Sales Representative regarding more information on access to the Developer Network.

+++ Divide by Cucumber Error. Please Reinstall Universe and Reboot +++
Labels
Top Kudoed Authors