Retrieving Allowed Categories

Reply
L1 Bithead

Retrieving Allowed Categories

When getting the details of a URL filtering object, I have noticed that the allowed categories are left empty in the XML (barring any custom URL categories). Is there anyway in the API to retrieve them?

I came up with a work-around of getting the list of all the categories from a "Deny All" rule I made, letting me filter out all the blocked/continue/alert categories and retain only the allowed categories - but this means I have to make sure no-one ever changes this URL filter object. There is a location in the API to retrieve categories (/config/predefined/url-categories) - but I discovered that it doesn't actually have all of the PAN-DB categories (for instance, it is missing abused-drugs).

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!