/api/v1/config/routed_networks/search:
  description: |-
    pf::UnifiedApi::Controller::Config::RoutedNetworks

      get_json
        Override parent method to set the id to the network value as it is
        required for validation in pf::UnifiedApi::Controller::Config

      form
        Override to add the network ID in the form args if its defined

      cleanup_item
        Override to remove the network key from the items in favor of id
  post:
    description: Search all items.
    operationId: api.v1.Config.RoutedNetworks.search
    parameters: []
    requestBody:
      content:
        application/json:
          example:
            cursor: 0
            limit: 25
          schema:
            allOf:
            - $ref: '#/components/schemas/Search'
            - properties:
                cursor:
                  required: false
                  type: string
                fields:
                  items:
                    type: string
                  required: true
                  type: array
                limit:
                  maximum: 1000
                  minimum: 1
                  required: false
                  type: integer
                sort:
                  items:
                    type: string
                  required: true
                  type: array
              required:
              - fields
      description: Search for items.
    responses:
      '200':
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfigRoutedNetworksList'
        description: Request successful. Response contains a list of resources.
      '401':
        $ref: '#/components/responses/Forbidden'
    tags:
    - Config/RoutedNetworks
