Zesty · Capability

Zesty Media API — Resolver

Zesty Media API — Resolver. 1 operations. Lead operation: Zesty Resolve a file to its CDN URL. Self-contained Naftiko capability covering one Zesty business surface.

Run with Naftiko ZestyResolver

What You Can Do

GET
Resolvefile — Zesty Resolve a file to its CDN URL
/v1/resolve/{filezuid}

MCP Tools

zesty-resolve-file-its-cdn

Zesty Resolve a file to its CDN URL

read-only idempotent

Capability Spec

media-resolver.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Zesty Media API — Resolver
  description: 'Zesty Media API — Resolver. 1 operations. Lead operation: Zesty Resolve a file to its CDN URL. Self-contained
    Naftiko capability covering one Zesty business surface.'
  tags:
  - Zesty
  - Resolver
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ZESTY_API_KEY: ZESTY_API_KEY
capability:
  consumes:
  - type: http
    namespace: media-resolver
    baseUri: https://media-manager.api.zesty.io
    description: Zesty Media API — Resolver business capability. Self-contained, no shared references.
    resources:
    - name: resolve-fileZUID
      path: /resolve/{fileZUID}
      operations:
      - name: resolvefile
        method: GET
        description: Zesty Resolve a file to its CDN URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fileZUID
          in: path
          type: string
          description: The ZUID of the file to resolve.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ZESTY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: media-resolver-rest
    port: 8080
    description: REST adapter for Zesty Media API — Resolver. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/resolve/{filezuid}
      name: resolve-filezuid
      description: REST surface for resolve-fileZUID.
      operations:
      - method: GET
        name: resolvefile
        description: Zesty Resolve a file to its CDN URL
        call: media-resolver.resolvefile
        with:
          fileZUID: rest.fileZUID
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: media-resolver-mcp
    port: 9090
    transport: http
    description: MCP adapter for Zesty Media API — Resolver. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: zesty-resolve-file-its-cdn
      description: Zesty Resolve a file to its CDN URL
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: media-resolver.resolvefile
      with:
        fileZUID: tools.fileZUID
      outputParameters:
      - type: object
        mapping: $.