naftiko: 1.0.0-alpha2
info:
label: eBay Notification API — Destination
description: 'eBay Notification API — Destination. 5 operations. Lead operation: Destination. Self-contained Naftiko capability
covering one Ebay business surface.'
tags:
- Ebay
- Destination
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
EBAY_API_KEY: EBAY_API_KEY
capability:
consumes:
- type: http
namespace: notification-destination
baseUri: https://api.ebay.com{basePath}
description: eBay Notification API — Destination business capability. Self-contained, no shared references.
resources:
- name: destination
path: /destination
operations:
- name: getdestinations
method: GET
description: This method allows applications to retrieve a paginated collection of destination resources and related
details. The details include the destination names, statuses, and configurations, including the endpoints and verification
tokens.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: continuation_token
in: query
type: string
description: This string value can be used to return the next page in the result set. The string to use here is
returned in the next field of the current page of resu
- name: limit
in: query
type: string
description: The maximum number of destinations to return per page from the result set.
Min: 10
Max:
100
Default: 20
- name: createdestination
method: POST
description: This method allows applications to create a destination. A destination is an endpoint that receives HTTP
push notifications.
A single destination for all topics is valid, as is individual destinations for each
topic.
To update
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
- name: destination-destination_id
path: /destination/{destination_id}
operations:
- name: getdestination
method: GET
description: This method allows applications to fetch the details for a destination. The details include the destination
name, status, and configuration, including the endpoint and verification token.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: destination_id
in: path
type: string
description: The unique identifier of the destination to retrieve. Use getDestinations to retrieve destination
IDs.
required: true
- name: updatedestination
method: PUT
description: This method allows applications to update a destination.
Note:
The destination should be created and ready to respond with the expected challengeResponse for the endpoint
to be registered success
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: destination_id
in: path
type: string
description: The unique identifier for the destination.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: false
- name: deletedestination
method: DELETE
description: This method provides applications a way to delete a destination.
The same destination ID can be
used by many destinations.
Trying to delete an active destination results in an error. You can disable a
subscription, and when th
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: destination_id
in: path
type: string
description: The unique identifier of the destination to delete. Only disabled or marked down destinations can be
deleted, and enabled destinations cannot be deleted. Use
A single destination for all topics is valid, as is individual destinations for each
topic.
To update
call: notification-destination.createdestination
with:
Content-Type: rest.Content-Type
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/destination/{destination-id}
name: destination-destination-id
description: REST surface for destination-destination_id.
operations:
- method: GET
name: getdestination
description: This method allows applications to fetch the details for a destination. The details include the destination
name, status, and configuration, including the endpoint and verification token.
call: notification-destination.getdestination
with:
destination_id: rest.destination_id
outputParameters:
- type: object
mapping: $.
- method: PUT
name: updatedestination
description: This method allows applications to update a destination.
Note:
The destination should be created and ready to respond with the expected challengeResponse for the endpoint
to be registered success
call: notification-destination.updatedestination
with:
Content-Type: rest.Content-Type
destination_id: rest.destination_id
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deletedestination
description: This method provides applications a way to delete a destination.
The same destination ID can be
used by many destinations.
Trying to delete an active destination results in an error. You can disable a
subscription, and when th
call: notification-destination.deletedestination
with:
destination_id: rest.destination_id
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: notification-destination-mcp
port: 9090
transport: http
description: MCP adapter for eBay Notification API — Destination. 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 paginated collection of destination resources and related
details. The details include the destination names, statuses, and configurations, including the endpoints and verification
tokens.
hints:
readOnly: true
destructive: false
idempotent: true
call: notification-destination.getdestinations
with:
continuation_token: tools.continuation_token
limit: tools.limit
outputParameters:
- type: object
mapping: $.
- name: this-method-allows-applications-create
description: This method allows applications to create a destination. A destination is an endpoint that receives HTTP
push notifications.
A single destination for all topics is valid, as is individual destinations for each topic.
To
update
hints:
readOnly: false
destructive: false
idempotent: false
call: notification-destination.createdestination
with:
Content-Type: tools.Content-Type
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: this-method-allows-applications-fetch
description: This method allows applications to fetch the details for a destination. The details include the destination
name, status, and configuration, including the endpoint and verification token.
hints:
readOnly: true
destructive: false
idempotent: true
call: notification-destination.getdestination
with:
destination_id: tools.destination_id
outputParameters:
- type: object
mapping: $.
- name: this-method-allows-applications-update
description: This method allows applications to update a destination.
Note: The
destination should be created and ready to respond with the expected challengeResponse for the endpoint to
be registered success
hints:
readOnly: false
destructive: false
idempotent: true
call: notification-destination.updatedestination
with:
Content-Type: tools.Content-Type
destination_id: tools.destination_id
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: this-method-provides-applications-way
description: This method provides applications a way to delete a destination.
The same destination ID can be
used by many destinations.
Trying to delete an active destination results in an error. You can disable a subscription,
and when th
hints:
readOnly: false
destructive: true
idempotent: true
call: notification-destination.deletedestination
with:
destination_id: tools.destination_id
outputParameters:
- type: object
mapping: $.