API-Fiddle · Capability

API-Fiddle API Fiddle API — Projects

API-Fiddle API Fiddle API — Projects. 5 operations. Lead operation: API-Fiddle List projects. Self-contained Naftiko capability covering one Api Fiddle business surface.

Run with Naftiko Api FiddleProjects

What You Can Do

GET
Listprojects — API-Fiddle List projects
/v1/projects
POST
Createproject — API-Fiddle Create a project
/v1/projects
GET
Getproject — API-Fiddle Get a project
/v1/projects/{projectid}
PUT
Updateproject — API-Fiddle Update a project
/v1/projects/{projectid}
DELETE
Deleteproject — API-Fiddle Delete a project
/v1/projects/{projectid}

MCP Tools

api-fiddle-list-projects

API-Fiddle List projects

read-only idempotent
api-fiddle-create-project

API-Fiddle Create a project

api-fiddle-get-project

API-Fiddle Get a project

read-only idempotent
api-fiddle-update-project

API-Fiddle Update a project

idempotent
api-fiddle-delete-project

API-Fiddle Delete a project

idempotent

Capability Spec

api-fiddle-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: API-Fiddle API Fiddle API — Projects
  description: 'API-Fiddle API Fiddle API — Projects. 5 operations. Lead operation: API-Fiddle List projects. Self-contained
    Naftiko capability covering one Api Fiddle business surface.'
  tags:
  - Api Fiddle
  - Projects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    API_FIDDLE_API_KEY: API_FIDDLE_API_KEY
capability:
  consumes:
  - type: http
    namespace: api-fiddle-projects
    baseUri: https://api.api-fiddle.com/v1
    description: API-Fiddle API Fiddle API — Projects business capability. Self-contained, no shared references.
    resources:
    - name: projects
      path: /projects
      operations:
      - name: listprojects
        method: GET
        description: API-Fiddle List projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Maximum number of projects to return.
        - name: offset
          in: query
          type: integer
          description: Number of projects to skip for pagination.
      - name: createproject
        method: POST
        description: API-Fiddle Create a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: projects-projectId
      path: /projects/{projectId}
      operations:
      - name: getproject
        method: GET
        description: API-Fiddle Get a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updateproject
        method: PUT
        description: API-Fiddle Update a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteproject
        method: DELETE
        description: API-Fiddle Delete a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.API_FIDDLE_API_KEY}}'
  exposes:
  - type: rest
    namespace: api-fiddle-projects-rest
    port: 8080
    description: REST adapter for API-Fiddle API Fiddle API — Projects. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/projects
      name: projects
      description: REST surface for projects.
      operations:
      - method: GET
        name: listprojects
        description: API-Fiddle List projects
        call: api-fiddle-projects.listprojects
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproject
        description: API-Fiddle Create a project
        call: api-fiddle-projects.createproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{projectid}
      name: projects-projectid
      description: REST surface for projects-projectId.
      operations:
      - method: GET
        name: getproject
        description: API-Fiddle Get a project
        call: api-fiddle-projects.getproject
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateproject
        description: API-Fiddle Update a project
        call: api-fiddle-projects.updateproject
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproject
        description: API-Fiddle Delete a project
        call: api-fiddle-projects.deleteproject
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: api-fiddle-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for API-Fiddle API Fiddle API — Projects. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: api-fiddle-list-projects
      description: API-Fiddle List projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-fiddle-projects.listprojects
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: api-fiddle-create-project
      description: API-Fiddle Create a project
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: api-fiddle-projects.createproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: api-fiddle-get-project
      description: API-Fiddle Get a project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: api-fiddle-projects.getproject
      outputParameters:
      - type: object
        mapping: $.
    - name: api-fiddle-update-project
      description: API-Fiddle Update a project
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: api-fiddle-projects.updateproject
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: api-fiddle-delete-project
      description: API-Fiddle Delete a project
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: api-fiddle-projects.deleteproject
      outputParameters:
      - type: object
        mapping: $.