Policy > Security > North South Security > Gateway Firewall > Url Categorization

Get the list of URL categories.

Gets the list of categories. This will provide all the supported categories
along with their ids. Few examples of these categories are Shopping, Social
Networks, Streaming sites, etc.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/url-categories
Request Headers:
n/a
Query Parameters:
PolicyUrlCategoryListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/api/infra/url-categories

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyUrlCategoryListResult+

Example Response:

{ "result_count": 2, "results" : [ { "category_id" : 1, "category_name" : "Real Estate" }, { "category_id" : 2, "category_name" : "Computer and Internet Security" } ] }

Required Permissions:

read

Feature:

policy_url_categorization

Additional Errors: