Incident.io · Capability

Incident.io API — Incident Statuses

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

Run with Naftiko Incident IoIncident Statuses

What You Can Do

GET
Listincidentstatuses — listincidentstatuses
/v1/incident-statuses
POST
Createincidentstatus — createincidentstatus
/v1/incident-statuses
GET
Getincidentstatus — getincidentstatus
/v1/incident-statuses/{id}
PUT
Updateincidentstatus — updateincidentstatus
/v1/incident-statuses/{id}
DELETE
Deleteincidentstatus — deleteincidentstatus
/v1/incident-statuses/{id}

MCP Tools

listincidentstatuses

listincidentstatuses

read-only idempotent
createincidentstatus

createincidentstatus

getincidentstatus

getincidentstatus

read-only idempotent
updateincidentstatus

updateincidentstatus

idempotent
deleteincidentstatus

deleteincidentstatus

idempotent

Capability Spec

incident-io-incident-statuses.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Incident.io API — Incident Statuses
  description: 'Incident.io API — Incident Statuses. 5 operations. Lead operation: Incident Statuses. Self-contained Naftiko
    capability covering one Incident Io business surface.'
  tags:
  - Incident Io
  - Incident Statuses
  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-incident-statuses
    baseUri: https://api.incident.io/v2
    description: Incident.io API — Incident Statuses business capability. Self-contained, no shared references.
    resources:
    - name: incident-statuses
      path: /incident-statuses
      operations:
      - name: listincidentstatuses
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createincidentstatus
        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: incident-statuses-id
      path: /incident-statuses/{id}
      operations:
      - name: getincidentstatus
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateincidentstatus
        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: deleteincidentstatus
        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-incident-statuses-rest
    port: 8080
    description: REST adapter for Incident.io API — Incident Statuses. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/incident-statuses
      name: incident-statuses
      description: REST surface for incident-statuses.
      operations:
      - method: GET
        name: listincidentstatuses
        description: listincidentstatuses
        call: incident-io-incident-statuses.listincidentstatuses
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createincidentstatus
        description: createincidentstatus
        call: incident-io-incident-statuses.createincidentstatus
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/incident-statuses/{id}
      name: incident-statuses-id
      description: REST surface for incident-statuses-id.
      operations:
      - method: GET
        name: getincidentstatus
        description: getincidentstatus
        call: incident-io-incident-statuses.getincidentstatus
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateincidentstatus
        description: updateincidentstatus
        call: incident-io-incident-statuses.updateincidentstatus
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteincidentstatus
        description: deleteincidentstatus
        call: incident-io-incident-statuses.deleteincidentstatus
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: incident-io-incident-statuses-mcp
    port: 9090
    transport: http
    description: MCP adapter for Incident.io API — Incident Statuses. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: listincidentstatuses
      description: listincidentstatuses
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incident-io-incident-statuses.listincidentstatuses
      outputParameters:
      - type: object
        mapping: $.
    - name: createincidentstatus
      description: createincidentstatus
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: incident-io-incident-statuses.createincidentstatus
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: getincidentstatus
      description: getincidentstatus
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: incident-io-incident-statuses.getincidentstatus
      outputParameters:
      - type: object
        mapping: $.
    - name: updateincidentstatus
      description: updateincidentstatus
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: incident-io-incident-statuses.updateincidentstatus
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deleteincidentstatus
      description: deleteincidentstatus
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: incident-io-incident-statuses.deleteincidentstatus
      outputParameters:
      - type: object
        mapping: $.