Incident.io · Capability

Incident.io API — Schedules

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

Run with Naftiko Incident IoSchedules

What You Can Do

GET
Listschedules — listschedules
/v1/schedules
POST
Createschedule — createschedule
/v1/schedules
GET
Getschedule — getschedule
/v1/schedules/{id}
PUT
Updateschedule — updateschedule
/v1/schedules/{id}
DELETE
Deleteschedule — deleteschedule
/v1/schedules/{id}

MCP Tools

listschedules

listschedules

read-only idempotent
createschedule

createschedule

getschedule

getschedule

read-only idempotent
updateschedule

updateschedule

idempotent
deleteschedule

deleteschedule

idempotent

Capability Spec

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