Skip to content

Commit f7f7727

Browse files
committed
Fix typo in the doc of the monitoring part.
Fix #70
1 parent f3ac656 commit f7f7727

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fortiosapi/fortiosapi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def monitor(self, path, name, vdom=None, mkey=None, parameters=None):
433433
"""
434434
Execute a GET on the montioring part of the Fortios API
435435
:param path: first part of the Fortios API URL like
436-
:param name: https://myfgt:8040/api/v2/cmdb/<path>/<name>
436+
:param name: https://myfgt:8040/api/v2/monitor/<path>/<name>
437437
:param mkey: when the cmdb object have a subtable mkey represent the subobject.
438438
It is optionnal at creation the code will find the mkey name for you.
439439
:param vdom: the vdom on which you want to apply config or global for global settings
@@ -524,7 +524,7 @@ def execute(self, path, name, data, vdom=None,
524524
we choose this name for clarity
525525
526526
:param path: first part of the Fortios API URL like
527-
:param name: https://myfgt:8040/api/v2/cmdb/<path>/<name>
527+
:param name: https://myfgt:8040/api/v2/monitor/<path>/<name>
528528
:param data: json containing the param/values of the object to be set
529529
:param mkey: when the cmdb object have a subtable mkey represent the subobject.
530530
It is optionnal at creation the code will find the mkey name for you.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name='fortiosapi',
10-
version='1.0.4',
10+
version='1.0.5',
1111
description="Python modules to use Fortigate APIs",
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)