Palo Alto Networks · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Network Services Layer 2 Subinterfaces API

6 actions 6 updates phrasing extends openapi/palo-alto-networks-layer-2-subinterfaces-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Palo Alto Networks's API. It is a proposal applied on top of the contract, not a document Palo Alto Networks publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/layer2-subinterfaces'].get
$.paths['/layer2-subinterfaces'].post
$.paths['/layer2-subinterfaces/{id}'].get
$.paths['/layer2-subinterfaces/{id}'].put
$.paths['/layer2-subinterfaces/{id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Network Services Layer 2 Subinterfaces API
  version: 1.0.0
extends: openapi/palo-alto-networks-layer-2-subinterfaces-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/layer2-subinterfaces'].get
  update:
    x-apievangelist-phrasing:
      intent: List layer 2 subinterfaces
      effect: read
      questions:
      - Which layer 2 subinterfaces are configured on my firewalls?
      - Can I list L2 subinterfaces for one device or folder?
      instructions:
      - text: List layer 2 subinterfaces in folder {folder}.
        slots:
          folder: query.folder
      - text: Show the L2 subinterfaces defined on device {device}.
        slots:
          device: query.device
      method: generated
      generated: '2026-09-26'
- target: $.paths['/layer2-subinterfaces'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a layer 2 subinterface
      effect: write
      questions:
      - How do I add a VLAN-tagged layer 2 subinterface?
      - Can I tie a new L2 subinterface to a parent interface?
      instructions:
      - text: Create layer 2 subinterface {name} with VLAN tag {vlan_tag}.
        slots:
          name: requestBody.name
          vlan_tag: requestBody.vlan_tag
      - text: Add L2 subinterface {name} on {parent_interface} tagged VLAN {vlan_tag}.
        slots:
          name: requestBody.name
          parent_interface: requestBody.parent_interface
          vlan_tag: requestBody.vlan_tag
      method: generated
      generated: '2026-09-26'
- target: $.paths['/layer2-subinterfaces/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a layer 2 subinterface
      effect: read
      questions:
      - What VLAN tag and parent does a specific L2 subinterface use?
      - Can I fetch one layer 2 subinterface by UUID?
      instructions:
      - text: Get layer 2 subinterface {id}.
        slots:
          id: path.id
      - text: Show the VLAN settings of L2 subinterface {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-09-26'
- target: $.paths['/layer2-subinterfaces/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a layer 2 subinterface
      effect: write
      questions:
      - How do I change the VLAN tag on an existing layer 2 subinterface?
      - Can I update an L2 subinterface's description?
      instructions:
      - text: Change existing L2 subinterface {id} ({name}) to VLAN tag {vlan_tag}.
        slots:
          id: path.id
          name: requestBody.name
          vlan_tag: requestBody.vlan_tag
      - text: Update layer 2 subinterface {id} comment to {comment}.
        slots:
          id: path.id
          comment: requestBody.comment
      method: generated
      generated: '2026-09-26'
- target: $.paths['/layer2-subinterfaces/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a layer 2 subinterface
      effect: destructive
      questions:
      - How do I remove a layer 2 subinterface?
      - Can an L2 subinterface be deleted by UUID?
      instructions:
      - text: Delete layer 2 subinterface {id}.
        slots:
          id: path.id
      - text: Remove the L2 subinterface with UUID {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-09-26'