Mews · Capability

Connector API — Exports

Connector API — Exports. 2 operations. Lead operation: Add export. Self-contained Naftiko capability covering one Mews business surface.

Run with Naftiko MewsExports

What You Can Do

POST
Exportsadd — Add export
/v1/api/connector/v1/exports/add
POST
Exportsgetall — Get all exports
/v1/api/connector/v1/exports/getall

MCP Tools

add-export

Add export

get-all-exports

Get all exports

read-only

Capability Spec

connector-exports.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Connector API — Exports
  description: 'Connector API — Exports. 2 operations. Lead operation: Add export. Self-contained Naftiko capability covering
    one Mews business surface.'
  tags:
  - Mews
  - Exports
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MEWS_API_KEY: MEWS_API_KEY
capability:
  consumes:
  - type: http
    namespace: connector-exports
    baseUri: https://api.mews.com
    description: Connector API — Exports business capability. Self-contained, no shared references.
    resources:
    - name: api-connector-v1-exports-add
      path: /api/connector/v1/exports/add
      operations:
      - name: exportsadd
        method: POST
        description: Add export
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-connector-v1-exports-getAll
      path: /api/connector/v1/exports/getAll
      operations:
      - name: exportsgetall
        method: POST
        description: Get all exports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: connector-exports-rest
    port: 8080
    description: REST adapter for Connector API — Exports. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/connector/v1/exports/add
      name: api-connector-v1-exports-add
      description: REST surface for api-connector-v1-exports-add.
      operations:
      - method: POST
        name: exportsadd
        description: Add export
        call: connector-exports.exportsadd
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/connector/v1/exports/getall
      name: api-connector-v1-exports-getall
      description: REST surface for api-connector-v1-exports-getAll.
      operations:
      - method: POST
        name: exportsgetall
        description: Get all exports
        call: connector-exports.exportsgetall
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: connector-exports-mcp
    port: 9090
    transport: http
    description: MCP adapter for Connector API — Exports. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: add-export
      description: Add export
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: connector-exports.exportsadd
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-all-exports
      description: Get all exports
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: connector-exports.exportsgetall
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.