Incident.io · Capability

Incident.io API — Severities

Incident.io API — Severities. 5 operations. Lead operation: Severities. Self-contained Naftiko capability covering one Incident Io business surface.

Run with Naftiko Incident IoSeverities

What You Can Do

GET
Listseverities — listseverities
/v1/severities
POST
Createseverity — createseverity
/v1/severities
GET
Getseverity — getseverity
/v1/severities/{id}
PUT
Updateseverity — updateseverity
/v1/severities/{id}
DELETE
Deleteseverity — deleteseverity
/v1/severities/{id}

MCP Tools

listseverities

listseverities

read-only idempotent
createseverity

createseverity

getseverity

getseverity

read-only idempotent
updateseverity

updateseverity

idempotent
deleteseverity

deleteseverity

idempotent

Capability Spec

incident-io-severities.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Incident.io API — Severities
  description: 'Incident.io API — Severities. 5 operations. Lead operation: Severities. Self-contained Naftiko capability
    covering one Incident Io business surface.'
  tags:
  - Incident Io
  - Severities
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    INCIDENT_IO_API_KEY: INCIDENT_IO_API_KEY
capability:
  consumes:
  - type: http
    namespace: incident-io-severities
    baseUri: https://api.incident.io/v2
    description: Incident.io API — Severities business capability. Self-contained, no shared references.
    resources:
    - name: severities
      path: /severities
      operations:
      - name: listseverities
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createseverity
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: severities-id
      path: /severities/{id}
      operations:
      - name: getseverity
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateseverity
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteseverity
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.INCIDENT_IO_API_KEY}}'
  exposes:
  - type: rest
    namespace: incident-io-severities-rest
    port: 8080
    description: REST adapter for Incident.io API — Severities. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/severities
      name: severities
      description: REST surface for severities.
      operations:
      - method: GET
        name: listseverities
        description: listseverities
        call: incident-io-severities.listseverities
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createseverity
        description: createseverity
        call: incident-io-severities.createseverity
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/severities/{id}
      name: severities-id
      description: REST surface for severities-id.
      operations:
      - method: GET
        name: getseverity
        description: getseverity
        call: incident-io-severities.getseverity
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateseverity
        description: updateseverity
        call: incident-io-severities.updateseverity
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteseverity
        description: deleteseverity
        call: incident-io-severities.deleteseverity
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: incident-io-severities-mcp
    port: 9090
    transport: http
    description: MCP adapter for Incident.io API — Severities. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: listseverities
      description: listseverities
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incident-io-severities.listseverities
      outputParameters:
      - type: object
        mapping: $.
    - name: createseverity
      description: createseverity
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: incident-io-severities.createseverity
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getseverity
      description: getseverity
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incident-io-severities.getseverity
      outputParameters:
      - type: object
        mapping: $.
    - name: updateseverity
      description: updateseverity
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: incident-io-severities.updateseverity
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deleteseverity
      description: deleteseverity
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: incident-io-severities.deleteseverity
      outputParameters:
      - type: object
        mapping: $.