Canonical · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for LXD external REST Networks API

11 actions 11 updates phrasing extends openapi/canonical-networks-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Canonical's API. It is a proposal applied on top of the contract, not a document Canonical publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 11

$.info
$.paths['/1.0/networks'].get
$.paths['/1.0/networks'].post
$.paths['/1.0/networks/{name}'].get
$.paths['/1.0/networks/{name}'].put
$.paths['/1.0/networks/{name}'].post
$.paths['/1.0/networks/{name}'].delete
$.paths['/1.0/networks/{name}'].patch
$.paths['/1.0/networks/{name}/leases'].get
$.paths['/1.0/networks/{name}/state'].get
$.paths['/1.0/networks?recursion=1'].get

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 LXD external REST Networks API
  version: 1.0.0
extends: openapi/canonical-networks-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 10
- target: $.paths['/1.0/networks'].get
  update:
    x-apievangelist-phrasing:
      intent: List network URLs
      effect: read
      questions:
      - Which networks are defined on my LXD server?
      - Can I get network links across all projects?
      instructions:
      - text: List the network URLs in project {project}.
        slots:
          project: query.project
      - text: Give me links to all LXD networks.
      method: generated
      generated: '2026-09-26'
- target: $.paths['/1.0/networks'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a network
      effect: write
      questions:
      - How do I create a new bridge network in LXD?
      - When clustered, do I need to create the network on each member first?
      instructions:
      - text: Create a {type} network named {name}.
        slots:
          type: requestBody.type
          name: requestBody.name
      - text: Define network {name} on cluster member {target} with config {config}.
        slots:
          name: requestBody.name
          target: query.target
          config: requestBody.config
      method: generated
      generated: '2026-09-26'
- target: $.paths['/1.0/networks/{name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one network's configuration
      effect: read
      questions:
      - How do I see the configuration of a specific network?
      - Can I view a network's settings as seen on one cluster member?
      instructions:
      - text: Show the network's configuration in project {project}.
        slots:
          project: query.project
      - text: Get the network as defined on member {target}.
        slots:
          target: query.target
      - text: Show the configuration of network {network}.
        slots:
          network: path.name
      method: generated
      generated: '2026-10-01'
- target: $.paths['/1.0/networks/{name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a network's configuration
      effect: write
      questions:
      - Can I replace every setting of a network in one go?
      - How do I overwrite a network's whole config and description?
      instructions:
      - text: Replace the network configuration with {config}.
        slots:
          config: requestBody.config
      - text: Overwrite the network description with {description} and config {config}.
        slots:
          description: requestBody.description
          config: requestBody.config
      - text: Replace the entire configuration of network {network} with {config}.
        slots:
          network: path.name
          config: requestBody.config
      method: generated
      generated: '2026-10-01'
- target: $.paths['/1.0/networks/{name}'].post
  update:
    x-apievangelist-phrasing:
      intent: Rename a network
      effect: write
      questions:
      - How do I rename an existing network?
      - Can a network be given a new name without recreating it?
      instructions:
      - text: Rename the network to {name}.
        slots:
          name: requestBody.name
      - text: Give the network in project {project} the new name {name}.
        slots:
          project: query.project
          name: requestBody.name
      - text: Rename network {network} to {name}.
        slots:
          network: path.name
          name: requestBody.name
      method: generated
      generated: '2026-10-01'
- target: $.paths['/1.0/networks/{name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a network
      effect: destructive
      questions:
      - How do I remove a network I no longer use?
      - Can I delete a network from a specific project?
      instructions:
      - text: Delete the network.
      - text: Remove the network from project {project}.
        slots:
          project: query.project
      - text: Delete network {network}.
        slots:
          network: path.name
      method: generated
      generated: '2026-10-01'
- target: $.paths['/1.0/networks/{name}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Change some settings of a network
      effect: write
      questions:
      - Can I change one key like ipv4.address without resending the full config?
      - How do I tweak a network's settings on a single cluster member?
      instructions:
      - text: Merge {config} into the network's existing config.
        slots:
          config: requestBody.config
      - text: Patch the network on member {target} with {config}.
        slots:
          target: query.target
          config: requestBody.config
      - text: Merge config keys {config} into network {network}.
        slots:
          network: path.name
          config: requestBody.config
      method: generated
      generated: '2026-10-01'
- target: $.paths['/1.0/networks/{name}/leases'].get
  update:
    x-apievangelist-phrasing:
      intent: List a network's DHCP leases
      effect: read
      questions:
      - Which IP addresses has a network's DHCP server handed out?
      - How do I find what address an instance got from DHCP?
      instructions:
      - text: List the DHCP leases on the network.
      - text: Show DHCP leases on member {target}.
        slots:
          target: query.target
      - text: Report the IP addresses DHCP has handed out on {network}.
        slots:
          network: path.name
      method: generated
      generated: '2026-10-01'
- target: $.paths['/1.0/networks/{name}/state'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a network's live state
      effect: read
      questions:
      - Is my network interface up, and what are its counters?
      - How do I see the current addresses and traffic on a network?
      instructions:
      - text: Show the current state of the network.
      - text: Get the network's live state on member {target}.
        slots:
          target: query.target
      - text: Show the live state of network {network}.
        slots:
          network: path.name
      method: generated
      generated: '2026-10-01'
- target: $.paths['/1.0/networks?recursion=1'].get
  update:
    x-apievangelist-phrasing:
      intent: List networks with full details
      effect: read
      questions:
      - Can I list every network with its config, not just its URL?
      - How do I get full network records across all projects?
      instructions:
      - text: List all networks as full records in project {project}.
        slots:
          project: query.project
      - text: Give me detailed network entries across every project.
      method: generated
      generated: '2026-09-26'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/canonical-networks-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.