naftiko: 1.0.0-alpha2
info:
label: eBay Notification API — Config
description: 'eBay Notification API — Config. 2 operations. Lead operation: Config. Self-contained Naftiko capability covering
one Ebay business surface.'
tags:
- Ebay
- Config
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
EBAY_API_KEY: EBAY_API_KEY
capability:
consumes:
- type: http
namespace: notification-config
baseUri: https://api.ebay.com{basePath}
description: eBay Notification API — Config business capability. Self-contained, no shared references.
resources:
- name: config
path: /config
operations:
- name: getconfig
method: GET
description: This method allows applications to retrieve a previously created configuration.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
- name: updateconfig
method: PUT
description: This method allows applications to create a new configuration or update an existing configuration. This
app-level configuration allows developers to set up alerts.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: Content-Type
in: header
type: string
description: 'This header indicates the format of the request body provided by the client. Its value should be set
to application/json.
For more information, '
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
authentication:
type: bearer
token: '{{env.EBAY_API_KEY}}'
exposes:
- type: rest
namespace: notification-config-rest
port: 8080
description: REST adapter for eBay Notification API — Config. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/config
name: config
description: REST surface for config.
operations:
- method: GET
name: getconfig
description: This method allows applications to retrieve a previously created configuration.
call: notification-config.getconfig
outputParameters:
- type: object
mapping: $.
- method: PUT
name: updateconfig
description: This method allows applications to create a new configuration or update an existing configuration. This
app-level configuration allows developers to set up alerts.
call: notification-config.updateconfig
with:
Content-Type: rest.Content-Type
body: rest.body
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: notification-config-mcp
port: 9090
transport: http
description: MCP adapter for eBay Notification API — Config. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: this-method-allows-applications-retrieve
description: This method allows applications to retrieve a previously created configuration.
hints:
readOnly: true
destructive: false
idempotent: true
call: notification-config.getconfig
outputParameters:
- type: object
mapping: $.
- name: this-method-allows-applications-create
description: This method allows applications to create a new configuration or update an existing configuration. This
app-level configuration allows developers to set up alerts.
hints:
readOnly: false
destructive: false
idempotent: true
call: notification-config.updateconfig
with:
Content-Type: tools.Content-Type
body: tools.body
outputParameters:
- type: object
mapping: $.