FtgdLocalRating
Configuration endpoint for webfilter/ftgd_local_rating.
Python Attribute
fgt.api.cmdb.webfilter.ftgd_local_rating
Available Methods
get()- GET operationpost()- POST operationput()- PUT operationdelete()- DELETE operation
Examples
from hfortix_fortios import FortiOS
fgt = FortiOS(host='192.168.1.99', token='your-token')
# List all items
items = fgt.api.cmdb.webfilter.ftgd_local_rating.get()
# Create new item
result = fgt.api.cmdb.webfilter.ftgd_local_rating.post(
nkey='value', # optional
url='value', # optional
status='value', # optional
)
# Update existing item
result = fgt.api.cmdb.webfilter.ftgd_local_rating.put(
url='updated-value',
status='updated-value',
comment='updated-value',
rating='updated-value',
)
# Delete item
result = fgt.api.cmdb.webfilter.ftgd_local_rating.delete()
Method Reference
get()
get(
url=None,
payload_dict=None,
attr=None,
skip_to_datasource=None,
acs=None,
search=None,
vdom=None,
raw_json=False,
**kwargs
)
Select a specific entry from a CLI table.
post()
post(
payload_dict=None,
nkey=None,
url=None,
status=None,
comment=None,
rating=None,
vdom=None,
raw_json=False,
**kwargs
)
Create object(s) in this table.
put()
put(
url=None,
payload_dict=None,
before=None,
after=None,
status=None,
comment=None,
rating=None,
vdom=None,
raw_json=False,
**kwargs
)
Update this specific resource.
delete()
delete(
url=None,
payload_dict=None,
vdom=None,
raw_json=False,
**kwargs
)
Delete this specific resource.