Palo Alto Networks Predefined URL Categories API

The PredefinedURLCategories API from Palo Alto Networks — 1 operation(s) for predefinedurlcategories.

OpenAPI Specification

palo-alto-networks-predefinedurlcategories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  description: 'Use predefined URL categories in security rules to block or allow access to websites.

    '
  title: Manage Predefined URL Categories API
  version: 1.0.0
servers:
- url: https://api.us-east-1.aws.cloudngfw.paloaltonetworks.com
tags:
- name: PredefinedURLCategories
paths:
  /v1/config/urlcategories:
    get:
      description: 'Retrieve the predefined URL categories.

        '
      operationId: get-v1-config-urlcategories
      parameters:
      - description: ''
        in: query
        name: nexttoken
        required: false
        schema:
          title: Nexttoken
          type: string
      - description: ''
        in: query
        name: maxresults
        required: false
        schema:
          default: 1024
          maximum: 1024
          minimum: 1
          title: Maxresults
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListURLPredefinedCategoriesResponse'
          description: OK
      summary: Retrieve predefined URL categories
      tags:
      - PredefinedURLCategories
components:
  schemas:
    ListURLPredefinedCategoriesResponse.ResponseData:
      additionalProperties: false
      properties:
        CategoriesRunning:
          items:
            $ref: '#/components/schemas/ListURLPredefinedCategoriesResponse.PredefinedURLCategory'
          title: Categoriesrunning
          type: array
        NextToken:
          title: Nexttoken
          type: string
      title: ResponseData
      type: object
    ListURLPredefinedCategoriesResponse.Result:
      additionalProperties: false
      properties:
        ErrorCode:
          default: 0
          title: Errorcode
          type: integer
        Reason:
          title: Reason
          type: string
      title: Result
      type: object
    ListURLPredefinedCategoriesResponse:
      additionalProperties: false
      properties:
        Response:
          $ref: '#/components/schemas/ListURLPredefinedCategoriesResponse.ResponseData'
        ResponseStatus:
          $ref: '#/components/schemas/ListURLPredefinedCategoriesResponse.Result'
      title: ListURLPredefinedCategoriesResponse
      type: object
    ListURLPredefinedCategoriesResponse.PredefinedURLCategory:
      additionalProperties: false
      properties:
        Action:
          title: Action
          type: string
        Name:
          title: Name
          type: string
      required:
      - Action
      - Name
      title: PredefinedURLCategory
      type: object