Incus · Capability

Incus external REST API — warnings

Incus external REST API — warnings. 6 operations. Lead operation: List the warnings. Self-contained Naftiko capability covering one Incus business surface.

Run with Naftiko Incuswarnings

What You Can Do

GET
Warningsget — List the warnings
/v1/1-0/warnings
DELETE
Warningdelete — Delete the warning
/v1/1-0/warnings/{uuid}
GET
Warningget — Get the warning
/v1/1-0/warnings/{uuid}
PATCH
Warningpatch — Partially update the warning
/v1/1-0/warnings/{uuid}
PUT
Warningput — Update the warning
/v1/1-0/warnings/{uuid}
GET
Warningsgetrecursion1 — Get the warnings
/v1/1-0/warnings-recursion-1

MCP Tools

list-warnings

List the warnings

read-only idempotent
delete-warning

Delete the warning

idempotent
get-warning

Get the warning

read-only idempotent
partially-update-warning

Partially update the warning

idempotent
update-warning

Update the warning

idempotent
get-warnings

Get the warnings

read-only idempotent

Capability Spec

incus-warnings.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Incus external REST API — warnings
  description: 'Incus external REST API — warnings. 6 operations. Lead operation: List the warnings. Self-contained Naftiko
    capability covering one Incus business surface.'
  tags:
  - Incus
  - warnings
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    INCUS_API_KEY: INCUS_API_KEY
capability:
  consumes:
  - type: http
    namespace: incus-warnings
    baseUri: ''
    description: Incus external REST API — warnings business capability. Self-contained, no shared references.
    resources:
    - name: 1.0-warnings
      path: /1.0/warnings
      operations:
      - name: warningsget
        method: GET
        description: List the warnings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: query
          type: string
          description: Project name
    - name: 1.0-warnings-uuid
      path: /1.0/warnings/{uuid}
      operations:
      - name: warningdelete
        method: DELETE
        description: Delete the warning
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uuid
          in: path
          type: string
          description: UUID
          required: true
      - name: warningget
        method: GET
        description: Get the warning
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uuid
          in: path
          type: string
          description: UUID
          required: true
      - name: warningpatch
        method: PATCH
        description: Partially update the warning
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uuid
          in: path
          type: string
          description: UUID
          required: true
        - name: warning
          in: body
          type: string
          description: Warning status
          required: true
      - name: warningput
        method: PUT
        description: Update the warning
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uuid
          in: path
          type: string
          description: UUID
          required: true
        - name: warning
          in: body
          type: string
          description: Warning status
          required: true
    - name: 1.0-warnings?recursion=1
      path: /1.0/warnings?recursion=1
      operations:
      - name: warningsgetrecursion1
        method: GET
        description: Get the warnings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: query
          type: string
          description: Project name
  exposes:
  - type: rest
    namespace: incus-warnings-rest
    port: 8080
    description: REST adapter for Incus external REST API — warnings. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/1-0/warnings
      name: 1-0-warnings
      description: REST surface for 1.0-warnings.
      operations:
      - method: GET
        name: warningsget
        description: List the warnings
        call: incus-warnings.warningsget
        with:
          project: rest.project
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/1-0/warnings/{uuid}
      name: 1-0-warnings-uuid
      description: REST surface for 1.0-warnings-uuid.
      operations:
      - method: DELETE
        name: warningdelete
        description: Delete the warning
        call: incus-warnings.warningdelete
        with:
          uuid: rest.uuid
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: warningget
        description: Get the warning
        call: incus-warnings.warningget
        with:
          uuid: rest.uuid
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: warningpatch
        description: Partially update the warning
        call: incus-warnings.warningpatch
        with:
          uuid: rest.uuid
          warning: rest.warning
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: warningput
        description: Update the warning
        call: incus-warnings.warningput
        with:
          uuid: rest.uuid
          warning: rest.warning
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/1-0/warnings-recursion-1
      name: 1-0-warnings-recursion-1
      description: REST surface for 1.0-warnings?recursion=1.
      operations:
      - method: GET
        name: warningsgetrecursion1
        description: Get the warnings
        call: incus-warnings.warningsgetrecursion1
        with:
          project: rest.project
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: incus-warnings-mcp
    port: 9090
    transport: http
    description: MCP adapter for Incus external REST API — warnings. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-warnings
      description: List the warnings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incus-warnings.warningsget
      with:
        project: tools.project
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-warning
      description: Delete the warning
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: incus-warnings.warningdelete
      with:
        uuid: tools.uuid
      outputParameters:
      - type: object
        mapping: $.
    - name: get-warning
      description: Get the warning
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incus-warnings.warningget
      with:
        uuid: tools.uuid
      outputParameters:
      - type: object
        mapping: $.
    - name: partially-update-warning
      description: Partially update the warning
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: incus-warnings.warningpatch
      with:
        uuid: tools.uuid
        warning: tools.warning
      outputParameters:
      - type: object
        mapping: $.
    - name: update-warning
      description: Update the warning
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: incus-warnings.warningput
      with:
        uuid: tools.uuid
        warning: tools.warning
      outputParameters:
      - type: object
        mapping: $.
    - name: get-warnings
      description: Get the warnings
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incus-warnings.warningsgetrecursion1
      with:
        project: tools.project
      outputParameters:
      - type: object
        mapping: $.