Zesty · Capability

Zesty Instances API — Content Items

Zesty Instances API — Content Items. 5 operations. Lead operation: Zesty List content items for a model. Self-contained Naftiko capability covering one Zesty business surface.

Run with Naftiko ZestyContent Items

What You Can Do

GET
Getitems — Zesty List content items for a model
/v1/content/models/{modelzuid}/items
POST
Createitem — Zesty Create a content item
/v1/content/models/{modelzuid}/items
GET
Getitem — Zesty Get a content item
/v1/content/models/{modelzuid}/items/{itemzuid}
PUT
Updateitem — Zesty Update a content item
/v1/content/models/{modelzuid}/items/{itemzuid}
DELETE
Deleteitem — Zesty Delete a content item
/v1/content/models/{modelzuid}/items/{itemzuid}

MCP Tools

zesty-list-content-items-model

Zesty List content items for a model

read-only idempotent
zesty-create-content-item

Zesty Create a content item

zesty-get-content-item

Zesty Get a content item

read-only idempotent
zesty-update-content-item

Zesty Update a content item

idempotent
zesty-delete-content-item

Zesty Delete a content item

idempotent

Capability Spec

instances-content-items.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Zesty Instances API — Content Items
  description: 'Zesty Instances API — Content Items. 5 operations. Lead operation: Zesty List content items for a model. Self-contained
    Naftiko capability covering one Zesty business surface.'
  tags:
  - Zesty
  - Content Items
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ZESTY_API_KEY: ZESTY_API_KEY
capability:
  consumes:
  - type: http
    namespace: instances-content-items
    baseUri: https://{instanceZUID}.api.zesty.io/v1
    description: Zesty Instances API — Content Items business capability. Self-contained, no shared references.
    resources:
    - name: content-models-modelZUID-items
      path: /content/models/{modelZUID}/items
      operations:
      - name: getitems
        method: GET
        description: Zesty List content items for a model
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: modelZUID
          in: path
          type: string
          description: The ZUID of the content model.
          required: true
      - name: createitem
        method: POST
        description: Zesty Create a content item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: modelZUID
          in: path
          type: string
          description: The ZUID of the content model.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: content-models-modelZUID-items-itemZUID
      path: /content/models/{modelZUID}/items/{itemZUID}
      operations:
      - name: getitem
        method: GET
        description: Zesty Get a content item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: modelZUID
          in: path
          type: string
          description: The ZUID of the content model.
          required: true
        - name: itemZUID
          in: path
          type: string
          description: The ZUID of the content item.
          required: true
      - name: updateitem
        method: PUT
        description: Zesty Update a content item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: modelZUID
          in: path
          type: string
          description: The ZUID of the content model.
          required: true
        - name: itemZUID
          in: path
          type: string
          description: The ZUID of the content item.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteitem
        method: DELETE
        description: Zesty Delete a content item
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: modelZUID
          in: path
          type: string
          description: The ZUID of the content model.
          required: true
        - name: itemZUID
          in: path
          type: string
          description: The ZUID of the content item.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ZESTY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: instances-content-items-rest
    port: 8080
    description: REST adapter for Zesty Instances API — Content Items. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/content/models/{modelzuid}/items
      name: content-models-modelzuid-items
      description: REST surface for content-models-modelZUID-items.
      operations:
      - method: GET
        name: getitems
        description: Zesty List content items for a model
        call: instances-content-items.getitems
        with:
          modelZUID: rest.modelZUID
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createitem
        description: Zesty Create a content item
        call: instances-content-items.createitem
        with:
          modelZUID: rest.modelZUID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/content/models/{modelzuid}/items/{itemzuid}
      name: content-models-modelzuid-items-itemzuid
      description: REST surface for content-models-modelZUID-items-itemZUID.
      operations:
      - method: GET
        name: getitem
        description: Zesty Get a content item
        call: instances-content-items.getitem
        with:
          modelZUID: rest.modelZUID
          itemZUID: rest.itemZUID
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateitem
        description: Zesty Update a content item
        call: instances-content-items.updateitem
        with:
          modelZUID: rest.modelZUID
          itemZUID: rest.itemZUID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteitem
        description: Zesty Delete a content item
        call: instances-content-items.deleteitem
        with:
          modelZUID: rest.modelZUID
          itemZUID: rest.itemZUID
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: instances-content-items-mcp
    port: 9090
    transport: http
    description: MCP adapter for Zesty Instances API — Content Items. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: zesty-list-content-items-model
      description: Zesty List content items for a model
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: instances-content-items.getitems
      with:
        modelZUID: tools.modelZUID
      outputParameters:
      - type: object
        mapping: $.
    - name: zesty-create-content-item
      description: Zesty Create a content item
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: instances-content-items.createitem
      with:
        modelZUID: tools.modelZUID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: zesty-get-content-item
      description: Zesty Get a content item
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: instances-content-items.getitem
      with:
        modelZUID: tools.modelZUID
        itemZUID: tools.itemZUID
      outputParameters:
      - type: object
        mapping: $.
    - name: zesty-update-content-item
      description: Zesty Update a content item
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: instances-content-items.updateitem
      with:
        modelZUID: tools.modelZUID
        itemZUID: tools.itemZUID
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: zesty-delete-content-item
      description: Zesty Delete a content item
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: instances-content-items.deleteitem
      with:
        modelZUID: tools.modelZUID
        itemZUID: tools.itemZUID
      outputParameters:
      - type: object
        mapping: $.