NodeRings Inc. IPAM Service API

The IPAMService API from NodeRings Inc. — 16 operation(s) for ipamservice.

GitHub OpenAPI

Operations 23

GET /v1/ipam/allocations IP Allocation (read-only - allocations are managed automatically) #
GET /v1/ipam/networks IPAM service list networks #
POST /v1/ipam/networks IPAM Network management #
GET /v1/ipam/networks/{id} IPAM service get network #
DELETE /v1/ipam/networks/{id} IPAM service delete network #
PATCH /v1/ipam/networks/{id} IPAM service update network #
POST /v1/ipam/networks/{networkId}/assign-node Node-Network assignment #
GET /v1/ipam/networks/{networkId}/nodes IPAM service list network nodes #
GET /v1/ipam/nodes/{nodeId}/network IPAM service get node network #
POST /v1/ipam/nodes/{nodeId}/unassign-network IPAM service unassign network from node #
GET /v1/ipam/prefixes IPAM service list prefixes #
POST /v1/ipam/prefixes Prefix management #
GET /v1/ipam/prefixes/{id} IPAM service get prefix #
DELETE /v1/ipam/prefixes/{id} IPAM service delete prefix #
PATCH /v1/ipam/prefixes/{id} IPAM service update prefix #
GET /v1/ipam/prefixes/{prefixId}/available-ips IPAM service list available IPs #
POST /v1/ipam/prefixes/{prefixId}/reserved-ips IP Reservation (manage reserved_ips array in prefix) #
POST /v1/ipam/prefixes/{prefixId}/reserved-ips/clear-all IPAM service clear all prefix reserved IPs #
POST /v1/ipam/prefixes/{prefixId}/reserved-ips/reserve-all IPAM service reserve all prefix IPs #
DELETE /v1/ipam/prefixes/{prefixId}/reserved-ips/{ipAddress} IPAM service remove reserved IP #
DELETE /v1/ipam/prefixes/{prefixId}/reserved-prefixes IPAM service remove reserved prefix #
POST /v1/ipam/prefixes/{prefixId}/reserved-prefixes IPAM service add reserved prefix #
GET /v1/ipam/prefixes/{prefixId}/utilization Utility #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/noderings-com:noderings-com-ipamservice-api"
All apis
curl "https://apis.io/api/v1/apis?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

noderings-com-ipamservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NodeRings IPAM Service API
  version: '1.0'
  contact:
    name: NodeRings
    url: https://noderings.com
servers:
- url: https://api.noderings.com
security:
- BearerAuth: []
  OrgIDHeader: []
tags:
- name: IPAMService
paths:
  /v1/ipam/allocations:
    get:
      summary: IP Allocation (read-only - allocations are managed automatically)
      operationId: IPAMService_ListAllocations
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListAllocationsResponse'
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: prefixId
        description: Filter by prefix ID (required for filtering allocations)
        in: query
        required: false
        schema:
          type: string
      tags:
      - IPAMService
  /v1/ipam/networks:
    get:
      operationId: IPAMService_ListNetworks
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListNetworksResponse'
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
      tags:
      - IPAMService
      summary: IPAM service list networks
      x-summary-source: derived
    post:
      summary: IPAM Network management
      operationId: IPAMService_CreateNetwork
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1CreateNetworkRequest'
        required: true
      tags:
      - IPAMService
  /v1/ipam/networks/{id}:
    get:
      operationId: IPAMService_GetNetwork
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1GetNetworkResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service get network
      x-summary-source: derived
    delete:
      operationId: IPAMService_DeleteNetwork
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service delete network
      x-summary-source: derived
    patch:
      operationId: IPAMService_UpdateNetwork
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1UpdateNetworkResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAMServiceUpdateNetworkBody'
        required: true
      tags:
      - IPAMService
      summary: IPAM service update network
      x-summary-source: derived
  /v1/ipam/networks/{networkId}/assign-node:
    post:
      summary: Node-Network assignment
      operationId: IPAMService_AssignNetworkToNode
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: networkId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAMServiceAssignNetworkToNodeBody'
        required: true
      tags:
      - IPAMService
  /v1/ipam/networks/{networkId}/nodes:
    get:
      operationId: IPAMService_ListNetworkNodes
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListNetworkNodesResponse'
      parameters:
      - name: networkId
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service list network nodes
      x-summary-source: derived
  /v1/ipam/nodes/{nodeId}/network:
    get:
      operationId: IPAMService_GetNodeNetwork
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1GetNodeNetworkResponse'
      parameters:
      - name: nodeId
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service get node network
      x-summary-source: derived
  /v1/ipam/nodes/{nodeId}/unassign-network:
    post:
      operationId: IPAMService_UnassignNetworkFromNode
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: nodeId
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service unassign network from node
      x-summary-source: derived
  /v1/ipam/prefixes:
    get:
      operationId: IPAMService_ListPrefixes
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListPrefixesResponse'
      parameters:
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: pageSize
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: filterNetworkId
        in: query
        required: false
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service list prefixes
      x-summary-source: derived
    post:
      summary: Prefix management
      operationId: IPAMService_CreatePrefix
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/v1CreatePrefixRequest'
        required: true
      tags:
      - IPAMService
  /v1/ipam/prefixes/{id}:
    get:
      operationId: IPAMService_GetPrefix
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1GetPrefixResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service get prefix
      x-summary-source: derived
    delete:
      operationId: IPAMService_DeletePrefix
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service delete prefix
      x-summary-source: derived
    patch:
      operationId: IPAMService_UpdatePrefix
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1UpdatePrefixResponse'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAMServiceUpdatePrefixBody'
        required: true
      tags:
      - IPAMService
      summary: IPAM service update prefix
      x-summary-source: derived
  /v1/ipam/prefixes/{prefixId}/available-ips:
    get:
      operationId: IPAMService_ListAvailableIPs
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1ListAvailableIPsResponse'
      parameters:
      - name: prefixId
        in: path
        required: true
        schema:
          type: string
      - name: limit
        description: 'Limit number of IPs returned (default: 100)'
        in: query
        required: false
        schema:
          type: integer
          format: int32
      tags:
      - IPAMService
      summary: IPAM service list available IPs
      x-summary-source: derived
  /v1/ipam/prefixes/{prefixId}/reserved-ips:
    post:
      summary: IP Reservation (manage reserved_ips array in prefix)
      operationId: IPAMService_AddReservedIP
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: prefixId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAMServiceAddReservedIPBody'
        required: true
      tags:
      - IPAMService
  /v1/ipam/prefixes/{prefixId}/reserved-ips/clear-all:
    post:
      operationId: IPAMService_ClearAllPrefixReservedIPs
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: prefixId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAMServiceClearAllPrefixReservedIPsBody'
        required: true
      tags:
      - IPAMService
      summary: IPAM service clear all prefix reserved IPs
      x-summary-source: derived
  /v1/ipam/prefixes/{prefixId}/reserved-ips/reserve-all:
    post:
      operationId: IPAMService_ReserveAllPrefixIPs
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: prefixId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAMServiceReserveAllPrefixIPsBody'
        required: true
      tags:
      - IPAMService
      summary: IPAM service reserve all prefix IPs
      x-summary-source: derived
  /v1/ipam/prefixes/{prefixId}/reserved-ips/{ipAddress}:
    delete:
      operationId: IPAMService_RemoveReservedIP
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: prefixId
        in: path
        required: true
        schema:
          type: string
      - name: ipAddress
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service remove reserved IP
      x-summary-source: derived
  /v1/ipam/prefixes/{prefixId}/reserved-prefixes:
    delete:
      operationId: IPAMService_RemoveReservedPrefix
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: prefixId
        in: path
        required: true
        schema:
          type: string
      - name: cidr
        in: query
        required: false
        schema:
          type: string
      tags:
      - IPAMService
      summary: IPAM service remove reserved prefix
      x-summary-source: derived
    post:
      operationId: IPAMService_AddReservedPrefix
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1SuccessResponse'
      parameters:
      - name: prefixId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPAMServiceAddReservedPrefixBody'
        required: true
      tags:
      - IPAMService
      summary: IPAM service add reserved prefix
      x-summary-source: derived
  /v1/ipam/prefixes/{prefixId}/utilization:
    get:
      summary: Utility
      operationId: IPAMService_GetPrefixUtilization
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1GetPrefixUtilizationResponse'
      parameters:
      - name: prefixId
        in: path
        required: true
        schema:
          type: string
      tags:
      - IPAMService
components:
  schemas:
    v1NodeComputeType:
      type: string
      enum:
      - NODE_COMPUTE_TYPE_UNSPECIFIED
      - NODE_COMPUTE_TYPE_SHARED
      - NODE_COMPUTE_TYPE_DEDICATED
      default: NODE_COMPUTE_TYPE_UNSPECIFIED
      description: "Compute product hosted by a node. Exclusive: a node is shared XOR dedicated\n(docs/README-DEDICATED-CPU-CORES.md, design decision D1).\n\n - NODE_COMPUTE_TYPE_SHARED: Shared vCPU hosting (CPU oversubscription allowed). Default.\n - NODE_COMPUTE_TYPE_DEDICATED: Dedicated pinned CPU cores (no CPU overallocation)."
    v1Timestamps:
      type: object
      properties:
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
      title: Object details
    v1StoragePool:
      type: object
      properties:
        name:
          type: string
        storage:
          type: integer
          format: int32
        storageAllocated:
          type: integer
          format: int32
    v1NetworkNode:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
      title: NetworkNode represents a node connected to a network (simplified info)
    v1IPAllocation:
      type: object
      properties:
        id:
          type: string
          title: Fields
        ipAddress:
          type: string
          title: IP address allocated (e.g., 10.0.0.5, 2001:db8::1)
        status:
          $ref: '#/components/schemas/v1IPAllocationStatus'
        prefixId:
          type: string
          description: Prefix this IP allocation is from
          title: Relations
        virtualMachineId:
          type: string
          title: Virtual machine this IP is allocated to
        organizationId:
          type: string
          title: Organization that owns this allocation
        timestamps:
          $ref: '#/components/schemas/v1Timestamps'
        allocatedCidr:
          type: string
          title: Allocated CIDR (host or delegated block)
        allocationKind:
          type: string
          title: ipv4_host, ipv6_host, ipv6_prefix
    v1Prefix:
      type: object
      properties:
        id:
          type: string
          title: Fields
        cidr:
          type: string
          title: Network prefix in CIDR notation (e.g., 10.0.0.0/24, 2001:db8::/64)
        gateway:
          type: string
          description: Default gateway IP (e.g., 10.0.0.1). Must be within the prefix CIDR.
        reservedIps:
          type: array
          items:
            type: string
          title: List of reserved IP addresses (e.g., ["10.0.0.1", "10.0.0.100"])
        allocationStrategy:
          $ref: '#/components/schemas/v1AllocationStrategy'
        description:
          type: string
        networkId:
          type: string
          description: Network this prefix belongs to (for DNS servers). Optional.
          title: Relations
        organizationId:
          type: string
        metadata:
          type: object
          title: Metadata
        timestamps:
          $ref: '#/components/schemas/v1Timestamps'
        vmAssignmentPrefixLength:
          type: integer
          format: int32
          title: 'IPv6 only: VM assignment length (64, 128, …)'
        reservedPrefixes:
          type: array
          items:
            type: string
          title: Reserved sub-prefix CIDRs at assignment length
    v1ListAllocationsResponse:
      type: object
      properties:
        allocations:
          type: array
          items:
            $ref: '#/components/schemas/v1IPAllocation'
        total:
          type: integer
          format: int32
    v1SuccessResponse:
      type: object
      properties:
        success:
          type: boolean
    v1ListNetworkNodesResponse:
      type: object
      properties:
        nodes:
          type: array
          items:
            $ref: '#/components/schemas/v1Node'
          title: List of nodes assigned to this network
    v1Network:
      type: object
      properties:
        id:
          type: string
          title: Fields
        dnsServers:
          type: array
          items:
            type: string
          title: DNS server IP addresses (e.g., ["8.8.8.8", "1.1.1.1"])
        name:
          type: string
        description:
          type: string
        organizationId:
          type: string
          title: Relations
        metadata:
          type: object
          title: Metadata
        status:
          $ref: '#/components/schemas/protov1Status'
        timestamps:
          $ref: '#/components/schemas/v1Timestamps'
        nodes:
          type: array
          items:
            $ref: '#/components/schemas/v1NetworkNode'
          title: Nodes connected to this network (only populated in ListNetworks response)
        macAddressPrefix:
          type: string
          description: 'First 3 octets for MAC allocation within this network (e.g. BC:24:11). Default: BC:24:11.'
    IPAMServiceUpdatePrefixBody:
      type: object
      properties:
        networkId:
          type: string
        gateway:
          type: string
        reservedIps:
          type: array
          items:
            type: string
        allocationStrategy:
          $ref: '#/components/schemas/v1AllocationStrategy'
        description:
          type: string
    v1Node:
      type: object
      properties:
        id:
          type: string
          title: Identification
        name:
          type: string
        serviceStatus:
          $ref: '#/components/schemas/v1ServiceStatus'
        platform:
          type: string
          title: Relations
        region:
          type: string
        organizationId:
          type: string
        inventory:
          $ref: '#/components/schemas/v1NodeInventory'
        cpuOverallocatePercent:
          type: integer
          format: int32
          title: Overallocation
        memoryOverallocatePercent:
          type: integer
          format: int32
        storageOverallocatePercent:
          type: integer
          format: int32
        networkId:
          type: string
          description: Network ID this node is assigned to (optional)
          title: Network assignment (IPAM)
        metadata:
          type: object
          title: Metadata
        status:
          $ref: '#/components/schemas/protov1Status'
        timestamps:
          $ref: '#/components/schemas/v1Timestamps'
        maintenanceMode:
          type: boolean
          title: Maintenance mode - when enabled, reconciliation loop skips Proxmox state checks
        vmidSeed:
          type: integer
          format: int32
          title: VM ID seed - starting point for VM ID generation on this node
        vmStorageDestination:
          type: string
          description: Proxmox storage ID for new VM root disks (e.g. local-lvm).
        backupStorageDestination:
          type: string
        backupStorageCompression:
          $ref: '#/components/schemas/v1BackupStorageCompression'
        networkBridge:
          type: string
          description: 'Node provisioning settings (copied into ProxmoxVM CR at generation time)

            Proxmox Linux bridge for VM primary NIC (e.g. vmbr0). Default: vmbr0.'
        networkName:
          type: string
          description: 'Proxmox net device key for primary NIC (e.g. net0). Default: net0.'
        networkVlanId:
          type: integer
          format: int32
          description: 802.1Q VLAN tag on primary NIC (Proxmox tag=); 0 = untagged.
        networkModel:
          type: string
          description: 'Proxmox NIC model for primary NIC (virtio, e1000, ...). Default: virtio.'
        computeType:
          $ref: '#/components/schemas/v1NodeComputeType'
        hasCpuTopology:
          type: boolean
          description: 'True when a dedicated node has a parsed CPU topology document stored

            (required before dedicated preflight can pass).'
        cpuCatalogSupported:
          type: boolean
          description: 'True when the host CPU model matches a cpu_catalog row with is_supported.

            False when the model is missing, unmatched, or matched but not supported.'
        wingsNodeName:
          type: string
          description: Wings node name on a Pterodactyl platform. Empty on a hypervisor node.
        pterodactylLocationId:
          type: integer
          format: int32
        panelNodeId:
          type: integer
          format: int32
    protov1Status:
      type: string
      enum:
      - STATUS_UNSPECIFIED
      - STATUS_ACTIVE
      - STATUS_INACTIVE
      - STATUS_BANNED
      - STATUS_SOFT_DELETED
      default: STATUS_UNSPECIFIED
      title: Status of the object
    v1IPAllocationStatus:
      type: string
      enum:
      - IP_ALLOCATION_STATUS_UNSPECIFIED
      - IP_ALLOCATION_STATUS_ACTIVE
      - IP_ALLOCATION_STATUS_RELEASED
      default: IP_ALLOCATION_STATUS_UNSPECIFIED
    v1NodeInventory:
      type: object
      properties:
        cpuType:
          $ref: '#/components/schemas/v1CPUType'
        cpuCore:
          type: integer
          format: int32
        cpuCoreAllocated:
          type: integer
          format: int32
        storagePools:
          type: array
          items:
            $ref: '#/components/schemas/v1StoragePool'
        memory:
          type: integer
          format: int32
        memoryAllocated:
          type: integer
          format: int32
    v1CPUType:
      type: string
      enum:
      - CPU_TYPE_UNSPECIFIED
      - CPU_TYPE_INTEL
      - CPU_TYPE_AMD
      - CPU_TYPE_ARM
      default: CPU_TYPE_UNSPECIFIED
    v1GetPrefixUtilizationResponse:
      type: object
      properties:
        totalIps:
          type: integer
          format: int32
          description: 'Assignable pool: structurally assignable hosts minus explicit reserved list and one

            in-prefix gateway slot when the gateway is not already listed as reserved. Out-of-prefix

            gateways are ignored.'
        allocatedCount:
          type: integer
          format: int32
          title: Active VM IP allocations
        reservedCount:
          type: integer
          format: int32
          title: Len(reserved list) only; informational, not added to utilization
        availableCount:
          type: integer
          format: int32
          title: total_ips minus allocated_count
        utilizationPercent:
          type: number
          format: double
          title: allocated_count / total_ips when total_ips > 0
        vmAssignmentPrefixLength:
          type: integer
          format: int32
          title: IPv6 assignment length when applicable
        capacityUnitLabel:
          type: string
          title: e.g. "addresses", "/64 blocks"
        capacityIsOpenEnded:
          type: boolean
          title: true when pool size does not fit int64
    v1GetNetworkResponse:
      type: object
      properties:
        network:
          $ref: '#/components/schemas/v1Network'
    v1CreateNetworkRequest:
      type: object
      properties:
        dnsServers:
          type: array
          items:
            type: string
          title: e.g., ["8.8.8.8", "8.8.4.4"] (can be any IPs)
        name:
          type: string
        description:
          type: string
        macAddressPrefix:
          type: string
          description: 'First 3 octets for MAC allocation within this network (e.g. BC:24:11). Default: BC:24:11.'
      title: Network management
    IPAMServiceAddReservedIPBody:
      type: object
      properties:
        ipAddress:
          type: string
          title: Must be within prefix CIDR
      title: IP Reservation
    IPAMServiceAddReservedPrefixBody:
      type: object
      properties:
        cidr:
          type: string
          title: Must match prefix vm_assignment_prefix_length exactly
    v1CreatePrefixRequest:
      type: object
      properties:
        networkId:
          type: string
          title: 'Optional: network this prefix belongs to (for DNS servers)'
        cidr:
          type: string
          title: e.g., "10.0.0.0/24"
        gateway:
          type: string
          title: e.g., "10.0.0.1" (must be within CIDR)
        reservedIps:
          type: array
          items:
            type: string
          title: e.g., ["10.0.0.100", "10.0.0.200"] (must be within CIDR)
        allocationStrategy:
          $ref: '#/components/schemas/v1AllocationStrategy'
        description:
          type: string
        vmAssignmentPrefixLength:
          type: integer
          format: int32
          title: Required when cidr is IPv6
      title: Prefix management
    IPAMServiceAssignNetworkToNodeBody:
      type: object
      properties:
        nodeIds:
          type: array
          items:
            type: string
          title: One or more node IDs to assign to this network
      title: Node-Network assignment
    v1ListAvailableIPsResponse:
      type: object
      properties:
        availableIps:
          type: array
          items:
            type: string
          title: List of available IP addresses
        totalIps:
          type: integer
          format: int32
          title: Total IPs in prefix
        allocatedCount:
          type: integer
          format: int32
          title: Number of allocated IPs
        reservedCount:
          type: integer
          format: int32
          title: Number of reserved IPs
        availableCount:
          type: integer
          format: int32
          title: Number of available IPs
    v1UpdatePrefixResponse:
      type: object
      properties:
        prefix:
          $ref: '#/components/schemas/v1Prefix'
    v1GetNodeNetworkResponse:
      type: object
      properties:
        network:
          $ref: '#/components/schemas/v1Network'
    v1ListPrefixesResponse:
      type: object
      properties:
        prefixes:
          type: array
          items:
            $ref: '#/components/schemas/v1Prefix'
        total:
          type: integer
          format: int32
    v1GetPrefixResponse:
      type: object
      properties:
        prefix:
          $ref: '#/components/schemas/v1Prefix'
    v1UpdateNetworkResponse:
      type: object
      properties:
        network:
          $ref: '#/components/schemas/v1Network'
    v1ServiceStatus:
      type: string
      enum:
      - SERVICE_STATUS_UNSPECIFIED
      - SERVICE_STATUS_ONLINE
      - SERVICE_STATUS_OFFLINE
      - SERVICE_STATUS_MAINTENANCE
      default: SERVICE_STATUS_UNSPECIFIED
    IPAMServiceUpdateNetworkBody:
      type: object
      properties:
        dnsServers:
          type: array
          items:
            type: string
        name:
          type: string
        description:
          type: string
        macAddressPrefix:
          type: string
          description: First 3 octets for MAC allocation within this network. Empty = leave unchanged on update.
    v1AllocationStrategy:
      type: string
      enum:
      - ALLOCATION_STRATEGY_UNSPECIFIED
      - ALLOCATION_STRATEGY_SEQUENTIAL
      - ALLOCATION_STRATEGY_RANDOM
      - ALLOCATION_STRATEGY_FIRST_AVAILABLE
      - ALLOCATION_STRATEGY_LAST_AVAILABLE
      default: ALLOCATION_STRATEGY_UNSPECIFIED
    v1BackupStorageCompression:
      type: string
      enum:
      - BACKUP_STORAGE_COMPRESSION_UNSPECIFIED
      - BACKUP_STORAGE_COMPRESSION_NONE
      - BACKUP_STORAGE_COMPRESSION_LZO
      - BACKUP_STORAGE_COMPRESSION_GZIP
      - BACKUP_STORAGE_COMPRESSION_ZSTD
      default: BACKUP_STORAGE_COMPRESSION_UNSPECIFIED
      description: Proxmox vzdump --compress (must not be UNSPECIFIED on create/update node).
    IPAMServiceReserveAllPrefixIPsBody:
      type: object
    IPAMServiceClearAllPrefixReservedIPsBody:
      type: object
    v1ListNetworksResponse:
      type: object
      properties:
        networks:
          type: array
          items:
            $ref: '#/components/schemas/v1Network'
        total:
          type: integer
          format: int32
  securitySchemes:
    BearerAuth:
      type: apiKey
      description: Bearer token
      name: Authorization
      in: header
    OrgIDHeader:
      type: apiKey
      description: Tenant or organization identifier
      name: X-Organization-ID
      in: header