Hot!REST API url filter

Author
micycle
New Member
  • Total Posts : 8
  • Scores: 0
  • Reward points: 0
  • Joined: 2020/07/29 01:02:24
  • Status: offline
2020/08/08 12:48:29 (permalink)
0

REST API url filter

I have looked for REST API documentation for Fortigate and have only found commands for creating a policy or an address.
Is it possible to create a URL filter using the REST API? If it is, where can I find the documentation to do so?
#1

2 Replies Related Threads

    Yurisk
    Silver Member
    • Total Posts : 100
    • Scores: 22
    • Reward points: 0
    • Joined: 2011/12/04 03:30:01
    • Status: offline
    Re: REST API url filter 2020/08/09 08:21:09 (permalink)
    0
    You have full access to the object database via API, so the webfilter being just one of them should be configurable too. API reference lists few examples (firewall objects creation), but by the same template you may try to lab it. 
    POST /api/v2/cmdb/firewall/address -> POST /api/v2/cmdb/webfilter/profile ...
     
    I don't have ready example to show, if you don't find one till the weekend , I 'll try to post some.
     
    Yuri
     
     
    #2
    micycle
    New Member
    • Total Posts : 8
    • Scores: 0
    • Reward points: 0
    • Joined: 2020/07/29 01:02:24
    • Status: offline
    Re: REST API url filter 2020/09/15 07:11:14 (permalink)
    0
    I have tried to use the examples as templates and use them for my own need, but it didn't seem to work in this case.
    An example would be great.
    #3
    Jump to:
    © 2020 APG vNext Commercial Version 5.5