Zesty · Capability

Zesty Instances API — Stylesheets

Zesty Instances API — Stylesheets. 4 operations. Lead operation: Zesty List all stylesheets. Self-contained Naftiko capability covering one Zesty business surface.

Run with Naftiko ZestyStylesheets

What You Can Do

GET
Getstylesheets — Zesty List all stylesheets
/v1/web/stylesheets
POST
Createstylesheet — Zesty Create a stylesheet
/v1/web/stylesheets
GET
Getstylesheet — Zesty Get a stylesheet
/v1/web/stylesheets/{stylesheetzuid}
PUT
Updatestylesheet — Zesty Update a stylesheet
/v1/web/stylesheets/{stylesheetzuid}

MCP Tools

zesty-list-all-stylesheets

Zesty List all stylesheets

read-only idempotent
zesty-create-stylesheet

Zesty Create a stylesheet

zesty-get-stylesheet

Zesty Get a stylesheet

read-only idempotent
zesty-update-stylesheet

Zesty Update a stylesheet

idempotent

Capability Spec

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